/// <summary> /// Create a new Residential object. /// </summary> /// <param name="residentialId">Initial value of the ResidentialId property.</param> /// <param name="name">Initial value of the Name property.</param> public static Residential CreateResidential(global::System.Int32 residentialId, global::System.String name) { Residential residential = new Residential(); residential.ResidentialId = residentialId; residential.Name = name; return residential; }
/// <summary> /// Deprecated Method for adding a new object to the ResidentialSet EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToResidentialSet(Residential residential) { base.AddObject("ResidentialSet", residential); }