public ObjectViewModel(IOptimizedPersistable obj, FieldViewModel parentView, SessionBase session) : base(parentView, true) { _object = obj; _session = session; if (obj.WrappedObject != obj) objectAsString = obj.WrappedObject.ToString() + " " + new Oid(obj.Id); else objectAsString = obj.ToString(); }
public ObjectViewModel(IOptimizedPersistable obj, FieldViewModel parentView, SessionBase session) : base(parentView, true) { _object = obj; _session = session; if (obj.WrappedObject != obj) { objectAsString = obj.WrappedObject.ToString() + " " + new Oid(obj.Id); } else { objectAsString = obj.ToString(); } }
public ArrayViewModel(Array a, FieldViewModel parentObject, bool isEncodedOidArray, Page page, SessionBase session) : base(parentObject, true) { arrayAsString = Utilities.ArrayToString(a, isEncodedOidArray, page, ""); }
public ListViewModel(IList list, FieldViewModel parentObject, Page page) : base(parentObject, true) { listAsString = OptimizedPersistable.ListToString(list, page); }
public ArrayViewModel(Array a, FieldViewModel parentObject, bool isEncodedOidArray, Page page, SessionBase session) : base(parentObject, true) { arrayAsString = OptimizedPersistable.ArrayToString(a, isEncodedOidArray, page, ""); }