コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ProjectDALs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProjectDALs(ProjectDAL projectDAL)
 {
     base.AddObject("ProjectDALs", projectDAL);
 }
コード例 #2
0
 /// <summary>
 /// Create a new ProjectDAL object.
 /// </summary>
 /// <param name="projectID">Initial value of the ProjectID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static ProjectDAL CreateProjectDAL(global::System.Int32 projectID, global::System.String name)
 {
     ProjectDAL projectDAL = new ProjectDAL();
     projectDAL.ProjectID = projectID;
     projectDAL.Name = name;
     return projectDAL;
 }