public static SQLinqInsert <T> ToSQLinqInsert <T>(this T obj, string tableName = null, ISqlDialect dialect = null) { if (dialect == null) { dialect = DialectProvider.Create(); } return(SQLinq.Insert(obj, tableName, dialect)); }
public static SQLinqInsert <T> ToSQLinqInsert <T>(this T obj, string tableName = null) { return(SQLinq.Insert(obj, tableName)); }