メンバー「コンテンツ」が c# オブジェクトである Petapoco.Fetch を使用しようと考えています。
「コンテンツ」メンバーは、データベースからではなく、特別に取得したいキャッシュに保存するバイト[]メンバーです。
そう:
SQL = "select * table.FundDocument";
List<FundDocument> fundDocuments = new List<FundDocument>();
fundDocuments = database.Fetch<FundDocument>(SQL)
.IgnoreORExcept(FundDocument.content = GetDocumentFromCache(id));
したがって、petapoco オブジェクトは、メンバー「コンテンツ」を除くすべてを取得します。これは、関数 GetDocumentFromCache(); から取得します。
これは可能ですか?