/// <summary> /// gets the Primary Key Def for a ClassDef /// </summary> /// <param name="classDef"></param> /// <returns></returns> public static IPrimaryKeyDef MapIdentity(this IClassDef classDef) { if (classDef == null) return null; var autoMapper = new IdentityAutoMapper(classDef); return autoMapper.MapIdentity(); }
/// <summary> /// gets the Primary Key Def for a ClassDef /// </summary> /// <param name="classDef"></param> /// <returns></returns> public static IPrimaryKeyDef MapIdentity(this IClassDef classDef) { if (classDef == null) { return(null); } var autoMapper = new IdentityAutoMapper(classDef); return(autoMapper.MapIdentity()); }