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()); } }
public void userEnligne() { FieldsNames.Add("ID"); FieldsNames.Add("Enligne"); UpdateRecord(ID, Enligne); }