Changeset 45 for trunk/Application/UChronisClient.pas
- Timestamp:
- Mar 12, 2012, 10:23:40 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/UChronisClient.pas
r44 r45 112 112 end; 113 113 114 115 114 implementation 116 115 … … 251 250 NewProxy.Load; 252 251 if NewProxy.Objects.Count > 0 then begin 253 DbVersion := TObjectProxy(NewProxy.Objects[0]).Properties.Values['Version']; 252 NewObject := TObjectProxy.Create; 253 NewObject.Client := Self; 254 NewObject.SchemaName := Schema; 255 NewObject.ObjectName := SystemVersionObject; 256 NewObject.Id := 1; 257 NewObject.Load; 258 259 DbVersion := NewObject.Properties.Values['Version']; 254 260 if Version <> DbVersion then 255 261 raise Exception.Create(Format(SVersionMismatch, [Version, DbVersion]));
Note:
See TracChangeset
for help on using the changeset viewer.