/// <summary>
 /// Deprecated Method for adding a new object to the Memberships EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMemberships(Membership membership)
 {
     base.AddObject("Memberships", membership);
 }
 /// <summary>
 /// Create a new Membership object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="employeeId">Initial value of the EmployeeId property.</param>
 /// <param name="userName">Initial value of the UserName property.</param>
 /// <param name="password">Initial value of the Password property.</param>
 /// <param name="lastLogin">Initial value of the LastLogin property.</param>
 /// <param name="noOfLogins">Initial value of the NoOfLogins property.</param>
 /// <param name="status">Initial value of the Status property.</param>
 public static Membership CreateMembership(global::System.Guid id, global::System.Guid employeeId, global::System.String userName, global::System.String password, global::System.DateTime lastLogin, global::System.Int32 noOfLogins, global::System.Boolean status)
 {
     Membership membership = new Membership();
     membership.Id = id;
     membership.EmployeeId = employeeId;
     membership.UserName = userName;
     membership.Password = password;
     membership.LastLogin = lastLogin;
     membership.NoOfLogins = noOfLogins;
     membership.Status = status;
     return membership;
 }