Пример #1
0
 /// <summary>
 /// Create a new api_consumers object.
 /// </summary>
 /// <param name="consumerId">Initial value of the ConsumerId property.</param>
 /// <param name="key">Initial value of the Key property.</param>
 /// <param name="secret">Initial value of the Secret property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static api_consumers Createapi_consumers(global::System.Int32 consumerId, global::System.String key, global::System.String secret, global::System.String name)
 {
     api_consumers api_consumers = new api_consumers();
     api_consumers.ConsumerId = consumerId;
     api_consumers.Key = key;
     api_consumers.Secret = secret;
     api_consumers.Name = name;
     return api_consumers;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the api_consumers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToapi_consumers(api_consumers api_consumers)
 {
     base.AddObject("api_consumers", api_consumers);
 }