Esempio n. 1
0
 public static IEnumerable <Data.AuditPropertyValue> AsPropertyValues <TEvent>(TEvent from) where TEvent : class
 {
     return(CodeFirst.AsPropertyValues(from));
 }
Esempio n. 2
0
 public static TEvent As <TEvent>(this Data.AuditEvent ev) where TEvent : class, new()
 {
     return(CodeFirst.As <TEvent>(ev));
 }
Esempio n. 3
0
 public static AuditEventKind DeclareEvent <T>(Security.SecurityTargetKind appliesTo)
 {
     return(CodeFirst.CreateKind <T>(appliesTo));
 }
Esempio n. 4
0
 public static IAuditProperty UntypedProperty <THost, T>(Expression <Func <THost, T> > accessor)
 {
     return(CodeFirst.UntypedProperty(accessor));
 }
Esempio n. 5
0
 public static AuditEventKind Event <T>()
 {
     return(CodeFirst.GetKind <T>());
 }