private DbParameter CreateIntParameter(string name, int value)
        {
            IDatabaseExecutor db = this.databaseExecutor();

            return(db.CreateParameter(
                       name: name,
                       type: DbType.Int32,
                       direction: ParameterDirection.Input,
                       value: value));
        }
Ejemplo n.º 2
0
 private DbParameter CreateGuidParameter(string name, Guid value)
 {
     return(_executor.CreateParameter(name, DbType.Guid, ParameterDirection.Input, value));
 }