Skip to content

v3.11.16

Choose a tag to compare

@JonathanMagnan JonathanMagnan released this 06 Apr 03:03
· 928 commits to master since this release

Download the library here

FIXED: Composite key with a different type.

For some relation, using a key with different type was causing an error due to mapping the type always to the first key found (Key1 = int)

public partial class CompositeKeyEntity
{
        [Key]
        [Column(Order = 0)]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public int Key1 { get; set; }

        [Key]
        [Column(Order = 1)]
        [StringLength(10)]
        public string Key2 { get; set; }
}

PRO Version unlocked for the current month (April)