private static void MemoriseKeys(ISerializableObject iso, AttributeWorker w, GenericWeakReference <ISerializableObject> gwr) { IDictionary <String, FieldInfo> pkf = w.GetPrimaryKeyFields(iso.GetType()); foreach (FieldInfo fi in pkf.Values) { if (w.IsAutoincID(fi)) { continue; } gwr.Properties[fi.Name] = fi.GetValue(iso); } }
private static void MemoriseKeys(ISerializableObject iso, AttributeWorker w, GenericWeakReference<ISerializableObject> gwr) { IDictionary<String, FieldInfo> pkf = w.GetPrimaryKeyFields(iso.GetType()); foreach (FieldInfo fi in pkf.Values) { if (w.IsAutoincID(fi)) continue; gwr.Properties[fi.Name] = fi.GetValue(iso); } }