/// <summary> /// Create a new CharityProject object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="charityId">Initial value of the CharityId property.</param> public static CharityProject CreateCharityProject(global::System.Int32 id, global::System.Int32 charityId) { CharityProject charityProject = new CharityProject(); charityProject.Id = id; charityProject.CharityId = charityId; return charityProject; }
/// <summary> /// Deprecated Method for adding a new object to the CharityProjects EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCharityProjects(CharityProject charityProject) { base.AddObject("CharityProjects", charityProject); }