public void ReadObjectData(LibSerializationInfo info) { this.RelSource = info.ReadString(); this.TableIndex = info.ReadInt32(); this.RelPK = info.ReadString(); this.IsCheckSource = info.ReadBoolean(); this.GroupIndex = info.ReadInt32(); this.GroupCondation = info.ReadString(); int count = info.ReadInt32(); for (int i = 0; i < count; i++) { this.RelFields.Add((RelField)info.ReadObject()); } count = info.ReadInt32(); for (int i = 0; i < count; i++) { this.SetValueFields.Add((SetValueField)info.ReadObject()); } count = info.ReadInt32(); for (int i = 0; i < count; i++) { this.SelConditions.Add((SelCondition)info.ReadObject()); } }
public void ReadObjectData(LibSerializationInfo info) { this.TableName = info.ReadString(); int count = info.ReadInt32(); Dictionary <string, FieldAddr> fieldAddrDic = new Dictionary <string, FieldAddr>(count); for (int i = 0; i < count; i++) { fieldAddrDic.Add(info.ReadString(), (FieldAddr)info.ReadObject()); } if (fieldAddrDic != null) { this.ExtendedProperties.Add(TableProperty.FieldAddrDic, fieldAddrDic); } if (info.ReadBoolean()) { this.ExtendedProperties.Add(TableProperty.IsVirtual, true); } count = info.ReadInt32(); for (int i = 0; i < count; i++) { this.Columns.Add((DataColumn)info.ReadObject()); } count = info.ReadInt32(); DataColumn[] pks = new DataColumn[count]; for (int i = 0; i < count; i++) { pks[i] = this.Columns[info.ReadString()]; } this.PrimaryKey = pks; }
public void ReadObjectData(LibSerializationInfo info) { this.Condition = info.ReadString(); this.MsgCode = info.ReadString(); this.MsgParam = info.ReadString(); this.DisplayText = info.ReadString(); }
public void ReadObjectData(LibSerializationInfo info) { this.Name = info.ReadString(); this.VisibleCondition = info.ReadString(); this.AsName = info.ReadString(); this.DisplayText = info.ReadString(); }
public void ReadObjectData(LibSerializationInfo info) { this.Version = info.ReadInt64(); int count = info.ReadInt32(); for (int i = 0; i < count; i++) { this.RelationDlls.Add(info.ReadString(), (ProgIdRelationDll)info.ReadObject()); } count = info.ReadInt32(); for (int i = 0; i < count; i++) { this.DllVersions.Add(info.ReadString(), info.ReadInt64()); } count = info.ReadInt32(); for (int i = 0; i < count; i++) { this.VclMap.Add(info.ReadString(), info.ReadString()); } count = info.ReadInt32(); for (int i = 0; i < count; i++) { this.ViewMap.Add(info.ReadString(), info.ReadString()); } }
public void ReadObjectData(LibSerializationInfo info) { this._ProgId = info.ReadString(); int count = info.ReadInt32(); if (count > 0) { _GridScheme = new Dictionary <int, LibGridScheme>(count); for (int i = 0; i < count; i++) { _GridScheme.Add(info.ReadInt32(), (LibGridScheme)info.ReadObject()); } } }
public void ReadObjectData(LibSerializationInfo info) { this._Header = info.ReadString(); bool hasValue = info.ReadBoolean(); if (hasValue) { this._Field = info.ReadObject() as LibGridFieldScheme; } int count = info.ReadInt32(); if (count > 0) { _BandFields = new List <LibGridBandFieldScheme>(count); for (int i = 0; i < count; i++) { _BandFields.Add((LibGridBandFieldScheme)info.ReadObject()); } } }
public void ReadObjectData(LibSerializationInfo info) { this.ColumnName = info.ReadString(); this.MaxLength = info.ReadInt32(); this.ExtendedProperties.Add(FieldProperty.FieldType, (FieldType)info.ReadInt32()); LibDataType libDataType = (LibDataType)info.ReadInt32(); this.ExtendedProperties.Add(FieldProperty.DataType, libDataType); int count = info.ReadInt32(); RelativeSourceCollection relColl = null; for (int i = 0; i < count; i++) { if (relColl == null) { relColl = new RelativeSourceCollection(); } relColl.Add((RelativeSource)info.ReadObject()); } this.ExtendedProperties.Add(FieldProperty.RelativeSource, relColl); this.DataType = LibDataTypeConverter.ConvertType(libDataType); }
public void ReadObjectData(LibSerializationInfo info) { this._Name = info.ReadString(); this._Width = info.ReadInt32(); }
public void ReadObjectData(LibSerializationInfo info) { this.DllName = info.ReadString(); this.ClassName = info.ReadString(); }