/// <summary> /// Deprecated Method for adding a new object to the Insurers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToInsurers(Insurer insurer) { base.AddObject("Insurers", insurer); }
/// <summary> /// Create a new Insurer object. /// </summary> /// <param name="insurerId">Initial value of the InsurerId property.</param> /// <param name="accountId">Initial value of the AccountId property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="currentVersion">Initial value of the CurrentVersion property.</param> public static Insurer CreateInsurer(global::System.Int32 insurerId, global::System.Int32 accountId, global::System.String name, global::System.Byte[] currentVersion) { Insurer insurer = new Insurer(); insurer.InsurerId = insurerId; insurer.AccountId = accountId; insurer.Name = name; insurer.CurrentVersion = currentVersion; return insurer; }