public AutoGeneratedKey ( Object entity, dynamic autoGeneratedKey ) : Newtonsoft.Json | ||
entity | Object | |
autoGeneratedKey | dynamic | |
return | Newtonsoft.Json |
public AutoGeneratedKey(Object entity, dynamic autoGeneratedKey) {
Entity = entity;
PropertyName = autoGeneratedKey.propertyName;
AutoGeneratedKeyType = (AutoGeneratedKeyType)Enum.Parse(typeof(AutoGeneratedKeyType), (String)autoGeneratedKey.autoGeneratedKeyType);
// TempValue and RealValue will be set later. - TempValue during Add, RealValue after save completes.
}