public AddEditExtraValue ( string field, string code, System.DateTime date, string text, bool bit, int intn, System.DateTime dt = null ) : void | ||
field | string | |
code | string | |
date | System.DateTime | |
text | string | |
bit | bool | |
intn | int | |
dt | System.DateTime | |
Результат | void |
public void AddEditExtraValue(string field, string code, DateTime? date, string text, bool? bit, int? intn, DateTime? dt = null)
{
var ev = GetExtraValue(field);
ev.StrValue = code;
ev.Data = text;
ev.DateValue = date;
ev.IntValue = intn;
ev.BitValue = bit;
ev.UseAllValues = true;
ev.TransactionTime = dt ?? DateTime.Now;
}