Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Gyms EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToGyms(Gym gym)
 {
     base.AddObject("Gyms", gym);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new Gym object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="sysName">Initial value of the SysName property.</param>
 /// <param name="isActive">Initial value of the IsActive property.</param>
 /// <param name="groupId">Initial value of the GroupId property.</param>
 public static Gym CreateGym(global::System.Int32 id, global::System.String sysName, global::System.Boolean isActive, global::System.Int32 groupId)
 {
     Gym gym = new Gym();
     gym.Id = id;
     gym.SysName = sysName;
     gym.IsActive = isActive;
     gym.GroupId = groupId;
     return gym;
 }