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