コード例 #1
0
        private IBoardPostEntity LoadThreadCollection(PostsTable table)
        {
            BasicEntityInfo bi = default(BasicEntityInfo);
            var             r  = new PostModelStoreThreadCollection();

            SetThreadCollectionData(table, r, ref bi);
            return(r);
        }
コード例 #2
0
 private void SetThreadCollectionData(PostsTable table, PostModelStoreThreadCollection data, ref BasicEntityInfo bi)
 {
     SetThreadCollectionData(table.Views.PostCollectionLoadInfoView.Fetch(), data, ref bi);
 }
コード例 #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;
 }