//--- Methods ---
            public IDynamoTableTransactGetItemsBegin <TRecord> Get <T>(System.Linq.Expressions.Expression <Func <TRecord, T> > attribute)
            {
                _converter.AddProjection(attribute.Body);

                // NOTE (2021-07-02, bjorg): we always fetch `_t` to allow polymorphic deserialization
                _converter.AddProjection("_t");
                return(this);
            }
Esempio n. 2
0
 //--- Methods ---
 public IDynamoTableGetItem <TRecord> Get <T>(Expression <Func <TRecord, T> > attribute)
 {
     _converter.AddProjection(attribute.Body);
     return(this);
 }