Beispiel #1
0
 private static PropertyInfo GetPropertyInfo(IPrimaryKeyFinder keyfinder)
 {
     return(keyfinder.GetPrimaryKeyInfo(typeof(TItem))
            ?? IdConventionIdentifierInfo <TItem> .GetKeyPropertyByName());
 }
Beispiel #2
0
 public PrimaryKeyIdentifierInfo(IPrimaryKeyFinder keyfinder)
     : base(GetPropertyInfo(keyfinder))
 {
 }