/// <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; }
/// <summary> /// Deprecated Method for adding a new object to the ApiKeys EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToApiKeys(ApiKey apiKey) { base.AddObject("ApiKeys", apiKey); }