示例#1
0
 public static bool HasAutoGeneratedId(this ClassMapBase map)
 {
     return(map.Identifiers.Count == 1 && map.Identifiers[0].Insert == false);
 }
示例#2
0
 public static string CreateParameter(this ClassMapBase map, string name)
 {
     return(map.Dialect.CreateParameter(name));
 }