コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Browsers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToBrowsers(Browser browser)
 {
     base.AddObject("Browsers", browser);
 }
コード例 #2
0
 /// <summary>
 /// Create a new Browser object.
 /// </summary>
 /// <param name="browserID">Initial value of the BrowserID property.</param>
 /// <param name="browserVersion">Initial value of the BrowserVersion property.</param>
 public static Browser CreateBrowser(global::System.String browserID, global::System.String browserVersion)
 {
     Browser browser = new Browser();
     browser.BrowserID = browserID;
     browser.BrowserVersion = browserVersion;
     return browser;
 }