Exemple #1
0
 /// <summary>
 /// Adds a stored procedure to the database
 /// </summary>
 /// <param name="ProcedureName">Procedure name</param>
 /// <param name="Definition">Definition</param>
 public override ITable AddStoredProcedure(string ProcedureName, string Definition)
 {
     return(StoredProcedures.AddAndReturn(new StoredProcedure(ProcedureName, Definition, this)));
 }
 /// <summary>
 /// Adds a stored procedure to the database
 /// </summary>
 /// <param name="ProcedureName">Procedure name</param>
 /// <param name="Definition">Definition</param>
 public virtual StoredProcedure AddStoredProcedure(string ProcedureName, string Definition)
 {
     return(StoredProcedures.AddAndReturn(new StoredProcedure(ProcedureName, Definition, this)));
 }
Exemple #3
0
 /// <summary>
 /// Adds a stored procedure to the database
 /// </summary>
 /// <param name="procedureName">Procedure name</param>
 /// <param name="schemaName">Name of the schema.</param>
 /// <param name="definition">Definition</param>
 /// <returns>The stored procedure</returns>
 public override IFunction AddStoredProcedure(string procedureName, string schemaName, string definition) => StoredProcedures.AddAndReturn(new StoredProcedure(procedureName, schemaName, definition, this));