/// <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; }
/// <summary> /// Deprecated Method for adding a new object to the KeyGeneratorTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToKeyGeneratorTypes(KeyGeneratorType keyGeneratorType) { base.AddObject("KeyGeneratorTypes", keyGeneratorType); }