caique
caique
CC#
Created by caique on 10/23/2023 in #help
✅ WPF Masked TextBox
thx guys
17 replies
CC#
Created by caique on 10/23/2023 in #help
✅ WPF Masked TextBox
i make it work, kinda easy
17 replies
CC#
Created by caique on 10/23/2023 in #help
✅ WPF Masked TextBox
well, i may just dont know how to use
17 replies
CC#
Created by caique on 10/23/2023 in #help
✅ WPF Masked TextBox
i think it's too complex
17 replies
CC#
Created by caique on 10/23/2023 in #help
✅ WPF Masked TextBox
i'll try to use this
17 replies
CC#
Created by caique on 10/23/2023 in #help
✅ WPF Masked TextBox
works fine but it's not what im looking for
17 replies
CC#
Created by caique on 10/23/2023 in #help
✅ WPF Masked TextBox
wpf has just the passwordtextbox
17 replies
CC#
Created by caique on 10/23/2023 in #help
✅ WPF Masked TextBox
win forms actually has it as a component, is very simple to use
17 replies
CC#
Created by caique on 10/23/2023 in #help
✅ WPF Masked TextBox
No description
17 replies
CC#
Created by caique on 10/23/2023 in #help
✅ WPF Masked TextBox
but i would use because off text formatting
17 replies
CC#
Created by caique on 10/23/2023 in #help
✅ WPF Masked TextBox
kind of
17 replies
CC#
Created by caique on 10/19/2023 in #help
❔ trouble with data with PostgreSQL and EFCore
idk if it is different
32 replies
CC#
Created by caique on 10/19/2023 in #help
❔ trouble with data with PostgreSQL and EFCore
because i used DBFirst
32 replies
CC#
Created by caique on 10/19/2023 in #help
❔ trouble with data with PostgreSQL and EFCore
may be my approach with EFCore?
32 replies
CC#
Created by caique on 10/19/2023 in #help
❔ trouble with data with PostgreSQL and EFCore
i couldnt by my dbcontext, and i dont know why either
32 replies
CC#
Created by caique on 10/19/2023 in #help
❔ trouble with data with PostgreSQL and EFCore
how do i put on code block btw?
32 replies
CC#
Created by caique on 10/19/2023 in #help
❔ trouble with data with PostgreSQL and EFCore
.HasColumnName("nomecli_agendamento"); entity.Property(e => e.ObsAgendamento) .HasMaxLength(200) .HasColumnName("obs_agendamento"); entity.Property(e => e.CodigoClienteAgendamento) .HasColumnName("codigocli_agendamento"); }); OnModelCreatingPartial(modelBuilder); } partial void OnModelCreatingPartial(ModelBuilder modelBuilder); }
32 replies
CC#
Created by caique on 10/19/2023 in #help
❔ trouble with data with PostgreSQL and EFCore
entity.ToTable("tb_clientes"); entity.Property(e => e.CodigoCliente).HasColumnName("codigo_cliente"); entity.Property(e => e.CidadeCliente) .HasMaxLength(25) .HasColumnName("cidade_cliente"); entity.Property(e => e.CpfCliente) .HasMaxLength(14) .HasColumnName("cpf_cliente"); entity.Property(e => e.DatanascCliente) .HasMaxLength(14) .HasColumnName("datanasc_cliente"); entity.Property(e => e.EnderecoCliente) .HasMaxLength(80) .HasColumnName("endereco_cliente"); entity.Property(e => e.GeneroCliente) .HasMaxLength(10) .HasColumnName("genero_cliente"); entity.Property(e => e.NomeCliente) .HasMaxLength(60) .HasColumnName("nome_cliente"); }); modelBuilder.Entity<TbAgendamento>(entity => { entity.HasKey(e => e.CodigoAgendamento).HasName("tb_agendamentos_pkey"); entity.ToTable("tb_agendamentos"); entity.Property(e => e.CodigoAgendamento).HasColumnName("codigo_agendamento"); entity.Property(e => e.CpfcliAgendamento) .HasMaxLength(14) .HasColumnName("cpfcli_agendamento"); entity.Property(e => e.DataAgendamento) .HasMaxLength(11) .HasColumnName("data_agendamento"); entity.Property(e => e.HoraAgendamento) .HasMaxLength(5) .HasColumnName("hora_agendamento"); entity.Property(e => e.NomecliAgendamento) .HasMaxLength(60)
32 replies
CC#
Created by caique on 10/19/2023 in #help
❔ trouble with data with PostgreSQL and EFCore
using System; using System.Collections.Generic; using Microsoft.EntityFrameworkCore; namespace Orlagenda; public partial class OrlagendaDatabaseContext : DbContext { public OrlagendaDatabaseContext() { } public OrlagendaDatabaseContext(DbContextOptions<OrlagendaDatabaseContext> options) : base(options) { } public virtual DbSet<TbAgendamento> TbAgendamentos { get; set; } public virtual DbSet<TbCliente> TbClientes { get; set; } protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) #warning To protect potentially sensitive information in your connection string, you should move it out of source code. You can avoid scaffolding the connection string by using the Name= syntax to read it from configuration - see https://go.microsoft.com/fwlink/?linkid=2131148. For more guidance on storing connection strings, see http://go.microsoft.com/fwlink/?LinkId=723263. => optionsBuilder.UseNpgsql("Server=192.168.0.131; Port=5432; Database=orlagenda_database; UserID=postgres; Password=457320318"); protected override void OnModelCreating(ModelBuilder modelBuilder) { modelBuilder.Entity<TbCliente>(entity => { entity.HasKey(e => e.CodigoCliente).HasName("tb_clientes_pkey");
32 replies
CC#
Created by caique on 10/19/2023 in #help
❔ trouble with data with PostgreSQL and EFCore
i dont know actually, i'll bring the code
32 replies