Closed abbatepabloo closed 2 years ago
If you use case-sensitive columns and create a key or cluster column, the cql code generated won't use the right the column names.
Example: ` protected override void OnModelCreating(ModelBuilder modelBuilder) { // ... modelBuilder.Entity().ToTable("user").HasKey( => .Email); modelBuilder.Entity().Property(p => p.Id).HasColumnName("id"); modelBuilder.Entity().Property(p => p.Email).HasColumnName("email"); // ... modelBuilder.Entity().ForCassandraSetClusterColumns( => .Email); // ... }
` The column 'Email' (instead of 'email') will be used in cql statements. Maybe the changes I made could fix this.
Hello,
I made some changes in the branch "release/3.0.0" in order to fix the column name. Now the column has the correct name : "email".
Kind regards,
Thierry H.
If you use case-sensitive columns and create a key or cluster column, the cql code generated won't use the right the column names.
Example: ` protected override void OnModelCreating(ModelBuilder modelBuilder) { // ... modelBuilder.Entity().ToTable("user").HasKey( => .Email);
modelBuilder.Entity().Property(p => p.Id).HasColumnName("id");
modelBuilder.Entity().Property(p => p.Email).HasColumnName("email");
// ...
modelBuilder.Entity().ForCassandraSetClusterColumns( => .Email);
// ...
}
` The column 'Email' (instead of 'email') will be used in cql statements. Maybe the changes I made could fix this.