Пример #1
0
 private void  SetFields()
 {
     foreach (var fieldInfo in type.GetFields(BindingFlags.Instance |
                                              BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic))
     {
         Field field = new Field(fieldInfo);
         Fields.Add(field);
         FieldsNames.Add(field.GetName());
     }
 }
Пример #2
0
 public void userEnligne()
 {
     FieldsNames.Add("ID");
     FieldsNames.Add("Enligne");
     UpdateRecord(ID, Enligne);
 }