예제 #1
0
 /// <summary>
 /// Create a new ApiKey object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="storeId">Initial value of the StoreId property.</param>
 /// <param name="apiKey1">Initial value of the ApiKey1 property.</param>
 public static ApiKey CreateApiKey(global::System.Int64 id, global::System.Int64 storeId, global::System.String apiKey1)
 {
     ApiKey apiKey = new ApiKey();
     apiKey.Id = id;
     apiKey.StoreId = storeId;
     apiKey.ApiKey1 = apiKey1;
     return apiKey;
 }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ApiKeys EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToApiKeys(ApiKey apiKey)
 {
     base.AddObject("ApiKeys", apiKey);
 }