コード例 #1
0
ファイル: db.Designer.cs プロジェクト: nvelasquez/TDACL
 /// <summary>
 /// Create a new Administrator object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="lastName">Initial value of the LastName property.</param>
 /// <param name="documentId">Initial value of the DocumentId property.</param>
 /// <param name="active">Initial value of the Active property.</param>
 /// <param name="lastUpdate">Initial value of the LastUpdate property.</param>
 /// <param name="insertedDate">Initial value of the InsertedDate property.</param>
 public static Administrator CreateAdministrator(global::System.Int32 id, global::System.String name, global::System.String lastName, global::System.String documentId, global::System.Boolean active, global::System.DateTime lastUpdate, global::System.DateTime insertedDate)
 {
     Administrator administrator = new Administrator();
     administrator.Id = id;
     administrator.Name = name;
     administrator.LastName = lastName;
     administrator.DocumentId = documentId;
     administrator.Active = active;
     administrator.LastUpdate = lastUpdate;
     administrator.InsertedDate = insertedDate;
     return administrator;
 }
コード例 #2
0
ファイル: db.Designer.cs プロジェクト: nvelasquez/TDACL
 /// <summary>
 /// Deprecated Method for adding a new object to the Administrators EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAdministrators(Administrator administrator)
 {
     base.AddObject("Administrators", administrator);
 }