Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ChurchSmsProviders EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToChurchSmsProviders(ChurchSmsProvider churchSmsProvider)
 {
     base.AddObject("ChurchSmsProviders", churchSmsProvider);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new ChurchSmsProvider object.
 /// </summary>
 /// <param name="churchSmsProviderId">Initial value of the ChurchSmsProviderId property.</param>
 /// <param name="churchId">Initial value of the ChurchId property.</param>
 /// <param name="smsProviderId">Initial value of the SmsProviderId property.</param>
 /// <param name="username">Initial value of the Username property.</param>
 /// <param name="password">Initial value of the Password property.</param>
 /// <param name="created">Initial value of the Created property.</param>
 public static ChurchSmsProvider CreateChurchSmsProvider(global::System.Int32 churchSmsProviderId, global::System.Int32 churchId, global::System.Int32 smsProviderId, global::System.String username, global::System.String password, global::System.DateTime created)
 {
     ChurchSmsProvider churchSmsProvider = new ChurchSmsProvider();
     churchSmsProvider.ChurchSmsProviderId = churchSmsProviderId;
     churchSmsProvider.ChurchId = churchId;
     churchSmsProvider.SmsProviderId = smsProviderId;
     churchSmsProvider.Username = username;
     churchSmsProvider.Password = password;
     churchSmsProvider.Created = created;
     return churchSmsProvider;
 }