/// <summary> /// Create a new ApplicationCommand object. /// </summary> /// <param name="idApplicationCommand">Initial value of the idApplicationCommand property.</param> /// <param name="idApplication">Initial value of the idApplication property.</param> /// <param name="command">Initial value of the Command property.</param> /// <param name="insDateTime">Initial value of the InsDateTime property.</param> /// <param name="updDateTime">Initial value of the UpdDateTime property.</param> public static ApplicationCommand CreateApplicationCommand(global::System.Int32 idApplicationCommand, global::System.Int32 idApplication, global::System.String command, global::System.DateTimeOffset insDateTime, global::System.DateTimeOffset updDateTime) { ApplicationCommand applicationCommand = new ApplicationCommand(); applicationCommand.idApplicationCommand = idApplicationCommand; applicationCommand.idApplication = idApplication; applicationCommand.Command = command; applicationCommand.InsDateTime = insDateTime; applicationCommand.UpdDateTime = updDateTime; return applicationCommand; }
/// <summary> /// Deprecated Method for adding a new object to the ApplicationCommands EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToApplicationCommands(ApplicationCommand applicationCommand) { base.AddObject("ApplicationCommands", applicationCommand); }