internal static string WithExpression <T>(params Expression <Func <T, object> >[] columns) { var _columns = ExpressionHelper.GetExpressionPropertyNames(columns); return(SetInsertedColumns(_columns)); }
internal static string WihtExpression <T>(Expression <Func <T, object> > column, SqlDbType sqlDbType, bool canBeNull) { var _column = ExpressionHelper.GetExpressionPropertyName(column).AddSqlBrackets(); return(string.Concat(Constants.Sql.Add, _column, " ", sqlDbType, " ", canBeNull ? Constants.Sql.Null : Constants.Sql.NotNull)); }