コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the webpages_OAuthMembership EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTowebpages_OAuthMembership(webpages_OAuthMembership webpages_OAuthMembership)
 {
     base.AddObject("webpages_OAuthMembership", webpages_OAuthMembership);
 }
コード例 #2
0
 /// <summary>
 /// Create a new webpages_OAuthMembership object.
 /// </summary>
 /// <param name="provider">Initial value of the Provider property.</param>
 /// <param name="providerUserId">Initial value of the ProviderUserId property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 public static webpages_OAuthMembership Createwebpages_OAuthMembership(global::System.String provider, global::System.String providerUserId, global::System.Int32 userId)
 {
     webpages_OAuthMembership webpages_OAuthMembership = new webpages_OAuthMembership();
     webpages_OAuthMembership.Provider = provider;
     webpages_OAuthMembership.ProviderUserId = providerUserId;
     webpages_OAuthMembership.UserId = userId;
     return webpages_OAuthMembership;
 }