/// <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);
 }
 /// <summary>
 /// Create a new ApiKey object.
 /// </summary>
 /// <param name="apiKeyId">Initial value of the ApiKeyId property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="isDeleted">Initial value of the IsDeleted property.</param>
 public static ApiKey CreateApiKey(global::System.Guid apiKeyId, global::System.Guid userId, global::System.String name, global::System.Boolean isDeleted)
 {
     ApiKey apiKey = new ApiKey();
     apiKey.ApiKeyId = apiKeyId;
     apiKey.UserId = userId;
     apiKey.Name = name;
     apiKey.IsDeleted = isDeleted;
     return apiKey;
 }