Esempio n. 1
0
        private void Write(CollectionConstructor collectionConstructor)
        {
            _("internal {0}(global::Microsoft.OData.Client.DataServiceQuery inner," +
              "{1} context," +
              "object entity," +
              "string path)" +
              ": base(inner, context, entity as {2}, path)",
              NamesService.GetCollectionTypeName(collectionConstructor.OdcmClass).Name,
              NamesService.GetExtensionTypeName("DataServiceContextWrapper"),
              NamesService.GetExtensionTypeName("EntityBase"));
            _("{");

            _("}");
        }
Esempio n. 2
0
        private void Write(CollectionConstructor collectionConstructor)
        {
            _("internal {0}(global::Microsoft.OData.Client.DataServiceQuery inner," +
              "{1} context," +
              "object entity," +
              "string path)" +
              ": base(inner, context, entity as {2}, path)",
                NamesService.GetCollectionTypeName(collectionConstructor.OdcmClass).Name,
                NamesService.GetExtensionTypeName("DataServiceContextWrapper"),
                NamesService.GetExtensionTypeName("EntityBase"));
            _("{");

            _("}");
        }