/// <summary> /// Deprecated Method for adding a new object to the UserProviders EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUserProviders(UserProvider userProvider) { base.AddObject("UserProviders", userProvider); }
/// <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; }