public RCTypeTableRecord(SerializationInfo info, StreamingContext context) { OptimizedAttributes = null; ssENTypeTable = new ENTypeTableEntityRecord(null); Type objInfo = this.GetType(); FieldInfo fieldInfo = null; fieldInfo = objInfo.GetField("ssENTypeTable", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.Public); if (fieldInfo == null) { throw new Exception("The field named 'ssENTypeTable' was not found."); } if (fieldInfo.FieldType.IsSerializable) { ssENTypeTable = (ENTypeTableEntityRecord)info.GetValue(fieldInfo.Name, fieldInfo.FieldType); } }
public RCTypeTableRecord(params string[] dummy) { OptimizedAttributes = null; ssENTypeTable = new ENTypeTableEntityRecord(null); }