/// <summary> /// Create a new AccessLevel object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="level">Initial value of the Level property.</param> /// <param name="name">Initial value of the Name property.</param> public static AccessLevel CreateAccessLevel(global::System.Int32 id, global::System.Int32 level, global::System.String name) { AccessLevel accessLevel = new AccessLevel(); accessLevel.Id = id; accessLevel.Level = level; accessLevel.Name = name; return accessLevel; }
/// <summary> /// Deprecated Method for adding a new object to the AccessLevels EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAccessLevels(AccessLevel accessLevel) { base.AddObject("AccessLevels", accessLevel); }