コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the CommandTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCommandTypes(CommandType commandType)
 {
     base.AddObject("CommandTypes", commandType);
 }
コード例 #2
0
 /// <summary>
 /// Create a new CommandType object.
 /// </summary>
 /// <param name="commandTypeID">Initial value of the CommandTypeID property.</param>
 public static CommandType CreateCommandType(global::System.String commandTypeID)
 {
     CommandType commandType = new CommandType();
     commandType.CommandTypeID = commandTypeID;
     return commandType;
 }