/// <summary> /// Create a new KeyType object. /// </summary> /// <param name="idKeyType">Initial value of the idKeyType property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="keyTypeIntCode">Initial value of the KeyTypeIntCode property.</param> /// <param name="isSystem">Initial value of the IsSystem property.</param> public static KeyType CreateKeyType(global::System.Int32 idKeyType, global::System.String name, global::System.String keyTypeIntCode, global::System.Byte isSystem) { KeyType keyType = new KeyType(); keyType.idKeyType = idKeyType; keyType.Name = name; keyType.KeyTypeIntCode = keyTypeIntCode; keyType.IsSystem = isSystem; return keyType; }
/// <summary> /// Deprecated Method for adding a new object to the KeyTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToKeyTypes(KeyType keyType) { base.AddObject("KeyTypes", keyType); }