public T CreateInstance <T>(ISupportGetValue sv) { var t = CreateInstance <T>(); foreach (var q in SqlFields()) { q.SetValue(t, sv.GetValue(q.Name)); } return((T)t); }
public Object CreateInstance(ISupportGetValue sv) { var t = typeContainer.CreateInstance(); foreach (var q in SqlFields()) { q.SetValue(t, sv.GetValue(q.Name)); } return(t); }