/// <summary>
 /// Deprecated Method for adding a new object to the Providers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProviders(Provider provider)
 {
     base.AddObject("Providers", provider);
 }
 /// <summary>
 /// Create a new Provider object.
 /// </summary>
 /// <param name="providerId">Initial value of the ProviderId property.</param>
 /// <param name="facilityId">Initial value of the FacilityId property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="currentVersion">Initial value of the CurrentVersion property.</param>
 /// <param name="accountId">Initial value of the AccountId property.</param>
 public static Provider CreateProvider(global::System.Int32 providerId, global::System.Int32 facilityId, global::System.String name, global::System.Byte[] currentVersion, global::System.Int32 accountId)
 {
     Provider provider = new Provider();
     provider.ProviderId = providerId;
     provider.FacilityId = facilityId;
     provider.Name = name;
     provider.CurrentVersion = currentVersion;
     provider.AccountId = accountId;
     return provider;
 }