/// <summary> /// Create a new KeyNameValue object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="tid">Initial value of the Tid property.</param> /// <param name="key">Initial value of the Key property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="value">Initial value of the Value property.</param> /// <param name="created">Initial value of the Created property.</param> /// <param name="createdBy">Initial value of the CreatedBy property.</param> /// <param name="modified">Initial value of the Modified property.</param> /// <param name="modifiedBy">Initial value of the ModifiedBy property.</param> public static KeyNameValue CreateKeyNameValue(global::System.Int64 id, global::System.String tid, global::System.String key, global::System.String name, global::System.String value, global::System.DateTimeOffset created, global::System.String createdBy, global::System.DateTimeOffset modified, global::System.String modifiedBy) { KeyNameValue keyNameValue = new KeyNameValue(); keyNameValue.Id = id; keyNameValue.Tid = tid; keyNameValue.Key = key; keyNameValue.Name = name; keyNameValue.Value = value; keyNameValue.Created = created; keyNameValue.CreatedBy = createdBy; keyNameValue.Modified = modified; keyNameValue.ModifiedBy = modifiedBy; return keyNameValue; }
/// <summary> /// Deprecated Method for adding a new object to the KeyNameValues EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToKeyNameValues(KeyNameValue keyNameValue) { base.AddObject("KeyNameValues", keyNameValue); }