/// <summary> /// Deprecated Method for adding a new object to the CommandTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCommandTypes(CommandType commandType) { base.AddObject("CommandTypes", commandType); }
/// <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; }