示例#1
0
 /// <summary>
 /// Create a new Keys object.
 /// </summary>
 /// <param name="keyId">Initial value of the KeyId property.</param>
 /// <param name="cellNumber">Initial value of the CellNumber property.</param>
 /// <param name="keyCode">Initial value of the keyCode property.</param>
 /// <param name="fIO">Initial value of the FIO property.</param>
 /// <param name="type">Initial value of the Type property.</param>
 public static Keys CreateKeys(global::System.Int32 keyId, global::System.Int32 cellNumber, global::System.String keyCode, global::System.String fIO, global::System.Int32 type)
 {
     Keys keys = new Keys();
     keys.KeyId = keyId;
     keys.CellNumber = cellNumber;
     keys.keyCode = keyCode;
     keys.FIO = fIO;
     keys.Type = type;
     return keys;
 }
示例#2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Keys EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToKeys(Keys keys)
 {
     base.AddObject("Keys", keys);
 }