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

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