コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the UserProviders EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserProviders(UserProvider userProvider)
 {
     base.AddObject("UserProviders", userProvider);
 }
コード例 #2
0
 /// <summary>
 /// Create a new UserProvider object.
 /// </summary>
 /// <param name="providerID">Initial value of the ProviderID property.</param>
 /// <param name="providerType">Initial value of the ProviderType property.</param>
 public static UserProvider CreateUserProvider(global::System.Int32 providerID, global::System.String providerType)
 {
     UserProvider userProvider = new UserProvider();
     userProvider.ProviderID = providerID;
     userProvider.ProviderType = providerType;
     return userProvider;
 }