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