Пример #1
0
 /// <summary>
 /// Create a new KeyValue object.
 /// </summary>
 /// <param name="idKeyValue">Initial value of the idKeyValue property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="keyValueIntCode">Initial value of the KeyValueIntCode property.</param>
 /// <param name="idKeyType">Initial value of the idKeyType property.</param>
 public static KeyValue CreateKeyValue(global::System.Int32 idKeyValue, global::System.String name, global::System.String keyValueIntCode, global::System.Int32 idKeyType)
 {
     KeyValue keyValue = new KeyValue();
     keyValue.idKeyValue = idKeyValue;
     keyValue.Name = name;
     keyValue.KeyValueIntCode = keyValueIntCode;
     keyValue.idKeyType = idKeyType;
     return keyValue;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the KeyValues EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToKeyValues(KeyValue keyValue)
 {
     base.AddObject("KeyValues", keyValue);
 }