コード例 #1
0
        public IExtendedBoundClient <T> For <T>(string collectionName = null) where T : class
        {
            var client = new ExtendedBoundClient <T>(_baseClient, _baseClient.Session);

            client.For(collectionName);
            return(client);
        }
コード例 #2
0
        public IExtendedBoundClient <ODataEntry> For(ODataExpression expression)
        {
            var client = new ExtendedBoundClient <ODataEntry>(_baseClient, _baseClient.Session, true);

            client.For(expression);
            _baseClient.Session.Settings.IgnoreUnmappedProperties = true;
            _baseClient.Session.Settings.ReadUntypedAsString      = false;
            return(client);
        }
コード例 #3
0
        public IExtendedBoundClient <IDictionary <string, object> > For(string collectionName)
        {
            var client = new ExtendedBoundClient <IDictionary <string, object> >(_baseClient, _baseClient.Session);

            client.For(collectionName);
            _baseClient.Session.Settings.IgnoreUnmappedProperties = true;
            _baseClient.Session.Settings.ReadUntypedAsString      = false;
            return(client);
        }