예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the OApps EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOApps(OApp oApp)
 {
     base.AddObject("OApps", oApp);
 }
예제 #2
0
 /// <summary>
 /// Create a new OApp object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="secret">Initial value of the Secret property.</param>
 /// <param name="redirectUri">Initial value of the RedirectUri property.</param>
 public static OApp CreateOApp(global::System.String id, global::System.String secret, global::System.String redirectUri)
 {
     OApp oApp = new OApp();
     oApp.Id = id;
     oApp.Secret = secret;
     oApp.RedirectUri = redirectUri;
     return oApp;
 }