Exemplo n.º 1
0
        public T Put <T>(T entity)
            where T : Entity
        {
            SOAPLikeEntityAPI <T> api = new SOAPLikeEntityAPI <T>(CurrentConfiguration);

            return(api.PutEntity(entity, expand: ComposeExpands(entity), businessDate: BusinessDate));
        }
        public T Put <T>(T entity)
            where T : Entity
        {
            SOAPLikeEntityAPI <T> api = new SOAPLikeEntityAPI <T>(CurrentConfiguration);
            var result = api.PutEntity(entity, expand: ComposeExpands(entity), businessDate: BusinessDate);

            result.ReturnBehavior = entity.ReturnBehavior;
            return(result);
        }