コード例 #1
0
ファイル: DB.Designer.cs プロジェクト: saadzaman/myProject
 /// <summary>
 /// Create a new DirectorAllocation object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="directorID">Initial value of the DirectorID property.</param>
 /// <param name="lMId">Initial value of the LMId property.</param>
 public static DirectorAllocation CreateDirectorAllocation(global::System.Int32 id, global::System.Int32 directorID, global::System.Int32 lMId)
 {
     DirectorAllocation directorAllocation = new DirectorAllocation();
     directorAllocation.ID = id;
     directorAllocation.DirectorID = directorID;
     directorAllocation.LMId = lMId;
     return directorAllocation;
 }
コード例 #2
0
ファイル: DB.Designer.cs プロジェクト: saadzaman/myProject
 /// <summary>
 /// Deprecated Method for adding a new object to the DirectorAllocations EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDirectorAllocations(DirectorAllocation directorAllocation)
 {
     base.AddObject("DirectorAllocations", directorAllocation);
 }