public void Append(object item, PartitionTxData pd) { if (!_isStorageInitialized) { InitializeStorage(); } _fieldSerializer.Write(item, pd.NextRowID, pd); pd.NextRowID++; pd.IsAppended = true; }
public static BsonValue ToBsonValue(this ContentField contentField) { IFieldSerializer fieldSerializer = MongoFieldManager.Default.GetByType(contentField.GetType()); return(fieldSerializer.Write(contentField)); }