private ChangeStoredProcedureCommand(int num, XElement inner)
     : base(num, inner)
 {
     this.body = new StoredProcedureBody(
         inner.Element("declarations") != null ? inner.Element("declarations").Value : "",
         inner.Element("body").Value
     );
 }
示例#2
0
 public void CreateStoredProcedure(StoredProcedureReference procedure, StoredProcedureBody body)
 {
     this.traits.CreateStoredProcedure(this.CreateTextCommand, procedure, body);
 }
示例#3
0
 public void ReplaceStoredProcedureBody(StoredProcedureReference procedure, StoredProcedureBody newBody)
 {
     this.traits.ReplaceStoredProcedureBody(this.CreateTextCommand, procedure, newBody);
 }