Пример #1
0
 /// <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
 /// <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;
 }