/// <summary> /// Create a new KeyAccess object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="userGroupId">Initial value of the UserGroupId property.</param> /// <param name="value">Initial value of the Value property.</param> /// <param name="latchId">Initial value of the LatchId property.</param> public static KeyAccess CreateKeyAccess(global::System.Int32 id, global::System.Int32 userGroupId, global::System.Int32 value, global::System.Int32 latchId) { KeyAccess keyAccess = new KeyAccess(); keyAccess.Id = id; keyAccess.UserGroupId = userGroupId; keyAccess.Value = value; keyAccess.LatchId = latchId; return keyAccess; }
/// <summary> /// Deprecated Method for adding a new object to the KeyAccesses EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToKeyAccesses(KeyAccess keyAccess) { base.AddObject("KeyAccesses", keyAccess); }