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