Exemplo n.º 1
0
        public IDeleteable <T> In <PkType>(Expression <Func <T, object> > inField, List <PkType> primaryKeyValues)
        {
            var lamResult = DeleteBuilder.GetExpressionValue(inField, ResolveExpressType.FieldSingle);
            var fieldName = lamResult.GetResultString();

            tempPrimaryKeys = new List <string>()
            {
                fieldName
            };
            var result = In(primaryKeyValues);

            tempPrimaryKeys = null;
            return(this);
        }
Exemplo n.º 2
0
        public static DeleteBuilder GetDeleteBuilder(ConnectionConfig currentConnectionConfig)
        {
            DeleteBuilder result = CreateInstance <DeleteBuilder>(GetClassName(currentConnectionConfig.DbType.ToString(), "DeleteBuilder"));

            return(result);
        }