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