Example #1
0
        public override object GetValue(IOServiceContext context, RecordEntryRow currentEntry)
        {
            Dictionary <string, AttributeValue> values = ((DynamoDBRecordEntry)currentEntry).CurrentRow;

            AttributeValue val = null;

            values.TryGetValue(GetName(context), out val);
            return(val);
        }
Example #2
0
 public virtual object GetValue(IOServiceContext context, IDictionary <string, object> currentEntry)
 {
     if (currentEntry.ContainsKey(name))
     {
         return(currentEntry[name]);
     }
     else
     {
         return(null);
     }
 }
Example #3
0
 public string GetName(IOServiceContext context)
 {
     return(name);
 }
Example #4
0
 public virtual void SetValue(IOServiceContext context, RecordEntryRow currentEntry, object value)
 {
     throw new NotImplementedException();
 }