Пример #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)
 {
 }