Exemple #1
0
 private void setSubParams(NrdoCommand cmd, Identifier parent, Identifier child)
 {
     cmd.SetString("ptype", "varchar", parent.ObjectType.Name);
     cmd.SetString("pname", "varchar", parent.Name);
     cmd.SetString("type", "varchar", child.ObjectType.Name);
     cmd.SetString("name", "varchar", child.Name);
 }
Exemple #2
0
 // string -> String
 public static void SetStringParameter <T>(this T dbobject, NrdoCommand cmd, string name, string dbType, string value)
     where T : DBObject <T>
 {
     cmd.SetString(name, dbType, value);
 }
Exemple #3
0
 private void setRootParams(NrdoCommand cmd, Identifier identifier)
 {
     cmd.SetString("type", "varchar", identifier.ObjectType.Name);
     cmd.SetString("name", "varchar", identifier.Name);
 }