Exemplo n.º 1
0
        private IBoardPostEntity LoadThreadCollection(PostsTable table)
        {
            BasicEntityInfo bi = default(BasicEntityInfo);
            var             r  = new PostModelStoreThreadCollection();

            SetThreadCollectionData(table, r, ref bi);
            return(r);
        }
Exemplo n.º 2
0
 private void SetThreadCollectionData(PostsTable table, PostModelStoreThreadCollection data, ref BasicEntityInfo bi)
 {
     SetThreadCollectionData(table.Views.PostCollectionLoadInfoView.Fetch(), data, ref bi);
 }
Exemplo n.º 3
0
 private void SetThreadCollectionData(PostsTable.ViewValues.PostCollectionLoadInfoView v, PostModelStoreThreadCollection data, ref BasicEntityInfo bi)
 {
     SetBareEntityData(v, data, ref bi);
     data.Etag  = v.Etag;
     data.Info  = ObjectSerializationService.Deserialize(v.OtherDataBinary) as IBoardPostCollectionInfoSet;
     data.Stage = v.ChildrenLoadStage;
 }