/// <summary> /// Create a new UserCheckin object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="listingId">Initial value of the ListingId property.</param> /// <param name="checkedIn">Initial value of the CheckedIn property.</param> public static UserCheckin CreateUserCheckin(global::System.Int32 id, global::System.Guid userId, global::System.Int64 listingId, global::System.DateTime checkedIn) { UserCheckin userCheckin = new UserCheckin(); userCheckin.Id = id; userCheckin.UserId = userId; userCheckin.ListingId = listingId; userCheckin.CheckedIn = checkedIn; return userCheckin; }
/// <summary> /// Deprecated Method for adding a new object to the UserCheckins EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUserCheckins(UserCheckin userCheckin) { base.AddObject("UserCheckins", userCheckin); }