예제 #1
0
        public virtual IDataParameter CreateDbParameter(string name, Enum dbType, int size, object value)
        {
            var dbParameters = new DbParameters(DbProvider);
            IDbDataParameter dbDataParameter = dbParameters.Add(name, dbType, size);

            dbDataParameter.Value = value;
            return(ParameterUtils.CloneParameter(dbDataParameter));
        }