Exemplo n.º 1
0
 /// <summary>
 /// Create a new Area object.
 /// </summary>
 /// <param name="areaID">Initial value of the AreaID property.</param>
 /// <param name="projectID">Initial value of the ProjectID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="parentID">Initial value of the ParentID property.</param>
 /// <param name="sequence">Initial value of the Sequence property.</param>
 /// <param name="createdBy">Initial value of the CreatedBy property.</param>
 /// <param name="createdDateUtc">Initial value of the CreatedDateUtc property.</param>
 /// <param name="createdSystemID">Initial value of the CreatedSystemID property.</param>
 /// <param name="lastModifiedBy">Initial value of the LastModifiedBy property.</param>
 /// <param name="lastModifiedDateUtc">Initial value of the LastModifiedDateUtc property.</param>
 /// <param name="lastModifiedSystemID">Initial value of the LastModifiedSystemID property.</param>
 /// <param name="versionNumber">Initial value of the VersionNumber property.</param>
 public static Area CreateArea(global::System.Int32 areaID, global::System.Int32 projectID, global::System.String name, global::System.Int32 parentID, global::System.Int32 sequence, global::System.String createdBy, global::System.DateTime createdDateUtc, global::System.Int32 createdSystemID, global::System.String lastModifiedBy, global::System.DateTime lastModifiedDateUtc, global::System.Int32 lastModifiedSystemID, global::System.Int64 versionNumber)
 {
     Area area = new Area();
     area.AreaID = areaID;
     area.ProjectID = projectID;
     area.Name = name;
     area.ParentID = parentID;
     area.Sequence = sequence;
     area.CreatedBy = createdBy;
     area.CreatedDateUtc = createdDateUtc;
     area.CreatedSystemID = createdSystemID;
     area.LastModifiedBy = lastModifiedBy;
     area.LastModifiedDateUtc = lastModifiedDateUtc;
     area.LastModifiedSystemID = lastModifiedSystemID;
     area.VersionNumber = versionNumber;
     return area;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Area EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToArea(Area area)
 {
     base.AddObject("Area", area);
 }