public void Save(UserProfile userProfile, Action<SubmitOperation> submitCallback, object state) { Context.UserProfiles.Add(userProfile); if (Context.HasChanges) { Context.SubmitChanges(submitCallback, state); } }
public void Save(UserProfile userProfile, Action<System.ServiceModel.DomainServices.Client.SubmitOperation> submitCallback, object state) { submitCallback(null); }
public UpdatedUserProfileMessage(FuelTracker.Web.UserProfile userProfile) { this.UserProfile = userProfile; }
public LaunchEditUserProfileMessage(FuelTracker.Web.UserProfile userProfile) { this.UserProfile = userProfile; }
private bool FilterUserProfile(UserProfile entity) { return (entity.Id == this.UserProfileId); }
/// <summary> /// Create a new UserProfile object. /// </summary> /// <param name="id">Initial value of the Id property.</param> public static UserProfile CreateUserProfile(global::System.Int32 id) { UserProfile userProfile = new UserProfile(); userProfile.Id = id; return userProfile; }
/// <summary> /// Deprecated Method for adding a new object to the UserProfiles EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUserProfiles(UserProfile userProfile) { base.AddObject("UserProfiles", userProfile); }