예제 #1
0
 /// <summary>
 /// Create a new KeyGeneratorType object.
 /// </summary>
 /// <param name="keyGeneratorTypeId">Initial value of the KeyGeneratorTypeId property.</param>
 /// <param name="description">Initial value of the Description property.</param>
 public static KeyGeneratorType CreateKeyGeneratorType(global::System.Int32 keyGeneratorTypeId, global::System.String description)
 {
     KeyGeneratorType keyGeneratorType = new KeyGeneratorType();
     keyGeneratorType.KeyGeneratorTypeId = keyGeneratorTypeId;
     keyGeneratorType.Description = description;
     return keyGeneratorType;
 }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the KeyGeneratorTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToKeyGeneratorTypes(KeyGeneratorType keyGeneratorType)
 {
     base.AddObject("KeyGeneratorTypes", keyGeneratorType);
 }