Saimoe.Models.SaimoeContext.AddToProfiles C# (CSharp) Method

AddToProfiles() public method

Deprecated Method for adding a new object to the Profiles EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToProfiles ( Profile profile ) : void
profile Profile
return void
        public void AddToProfiles(Profile profile)
        {
            base.AddObject("Profiles", profile);
        }