예제 #1
0
파일: PPTData.cs 프로젝트: GiveCampUK/PPT_2
 /// <summary>
 /// Deprecated Method for adding a new object to the PurposeTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPurposeTypes(PurposeType purposeType)
 {
     base.AddObject("PurposeTypes", purposeType);
 }
예제 #2
0
파일: PPTData.cs 프로젝트: GiveCampUK/PPT_2
 /// <summary>
 /// Create a new PurposeType object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 public static PurposeType CreatePurposeType(global::System.Int32 id)
 {
     PurposeType purposeType = new PurposeType();
     purposeType.Id = id;
     return purposeType;
 }