コード例 #1
0
 /// <summary>
 /// Create a new AdsUser object.
 /// </summary>
 /// <param name="adsUserID">Initial value of the AdsUserID property.</param>
 /// <param name="managerPriv">Initial value of the ManagerPriv property.</param>
 /// <param name="triagePriv">Initial value of the TriagePriv property.</param>
 /// <param name="testEngineerPriv">Initial value of the TestEngineerPriv property.</param>
 /// <param name="testerPriv">Initial value of the TesterPriv property.</param>
 /// <param name="adminPriv">Initial value of the AdminPriv property.</param>
 public static AdsUser CreateAdsUser(global::System.String adsUserID, global::System.Boolean managerPriv, global::System.Boolean triagePriv, global::System.Boolean testEngineerPriv, global::System.Boolean testerPriv, global::System.Boolean adminPriv)
 {
     AdsUser adsUser = new AdsUser();
     adsUser.AdsUserID = adsUserID;
     adsUser.ManagerPriv = managerPriv;
     adsUser.TriagePriv = triagePriv;
     adsUser.TestEngineerPriv = testEngineerPriv;
     adsUser.TesterPriv = testerPriv;
     adsUser.AdminPriv = adminPriv;
     return adsUser;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the AdsUsers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAdsUsers(AdsUser adsUser)
 {
     base.AddObject("AdsUsers", adsUser);
 }