示例#1
0
        public VfpQueryProvider New(VfpQueryPolicy policy)
        {
            var provider = New(Connection, Mapping, policy);

            provider.Log = Log;

            return(provider);
        }
示例#2
0
        protected VfpQueryProvider New(DbConnection connection, QueryMapping mapping, VfpQueryPolicy policy)
        {
            if (policy == null)
            {
                throw new ArgumentNullException("VfpQueryPolicy required");
            }

            return(new VfpQueryProvider(connection as VfpConnection, VfpLanguage.Default, mapping, policy));
        }
示例#3
0
 internal VfpQueryProvider(VfpConnection connection, QueryLanguage language, QueryMapping mapping, VfpQueryPolicy policy) :
     base(connection, language, mapping, policy)
 {
 }