Свойства |
|
| string |
Code
[get, set]
|
|
Код типа кредита.
|
|
| string |
Name
[get, set]
|
|
Текстовое описание типа кредита.
|
|
Загрузка справочника
AutomatServiceClient client = new AutomatServiceClient();
List<Currency> dir = new List<Currency>();
dir.AddRange(client.GetDirCurrency());
if (dir == null)
{
throw new Exception("Не могу загрузить справочник Currency!");
}
for (int i = 0; i < dir.Count; i++)
{
this.TestContext.WriteLine("code: {0}; name: {1}", dir[i].Code, dir[i].Name);
}
client.Close();