Hi,
I liked this library very much. Thanks for good work. I have question though. Currently EntityBase class in library is defined as follows.
public class EntityBase
{
[Key]
public int Id { get; set; }
}
What if I need to use different Key i.e. GUID as key or instead of "Id" name use different Key e.g. "UserId".
Is there any way I can override data type and name of Key property here? If not name then at least data type?
Regards
Pankaj
Hi, I liked this library very much. Thanks for good work. I have question though. Currently EntityBase class in library is defined as follows. public class EntityBase { [Key] public int Id { get; set; } }
What if I need to use different Key i.e. GUID as key or instead of "Id" name use different Key e.g. "UserId". Is there any way I can override data type and name of Key property here? If not name then at least data type? Regards Pankaj