/// <summary> /// Create a new Agency object. /// </summary> /// <param name="agencyId">Initial value of the AgencyId property.</param> public static Agency CreateAgency(global::System.String agencyId) { Agency agency = new Agency(); agency.AgencyId = agencyId; return agency; }
private bool FilterAgency(Agency entity) { return (entity.AgencyId == this.AgencyName); }
/// <summary> /// Deprecated Method for adding a new object to the Agencies EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAgencies(Agency agency) { base.AddObject("Agencies", agency); }