Exemplo n.º 1
0
 /// <summary>
 /// Create a new ApiKey object.
 /// </summary>
 /// <param name="apiKeyId">Initial value of the ApiKeyId property.</param>
 public static ApiKey CreateApiKey(global::System.Guid apiKeyId)
 {
     ApiKey apiKey = new ApiKey();
     apiKey.ApiKeyId = apiKeyId;
     return apiKey;
 }
Exemplo n.º 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);
 }