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