Пример #1
0
 /// <summary>
 /// Create a new Application object.
 /// </summary>
 /// <param name="idApplication">Initial value of the idApplication property.</param>
 /// <param name="code">Initial value of the Code property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="isManager">Initial value of the IsManager property.</param>
 /// <param name="fileName">Initial value of the FileName property.</param>
 /// <param name="active">Initial value of the Active property.</param>
 /// <param name="insDateTime">Initial value of the InsDateTime property.</param>
 /// <param name="updDateTime">Initial value of the UpdDateTime property.</param>
 public static Application CreateApplication(global::System.Int32 idApplication, global::System.String code, global::System.String name, global::System.Boolean isManager, global::System.String fileName, global::System.Boolean active, global::System.DateTimeOffset insDateTime, global::System.DateTimeOffset updDateTime)
 {
     Application application = new Application();
     application.idApplication = idApplication;
     application.Code = code;
     application.Name = name;
     application.IsManager = isManager;
     application.FileName = fileName;
     application.Active = active;
     application.InsDateTime = insDateTime;
     application.UpdDateTime = updDateTime;
     return application;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Applications EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToApplications(Application application)
 {
     base.AddObject("Applications", application);
 }