{"id":24486217,"url":"https://github.com/ebicoglu/oracleparameterdecoder","last_synced_at":"2025-07-19T05:07:37.033Z","repository":{"id":119686568,"uuid":"351556912","full_name":"ebicoglu/OracleParameterDecoder","owner":"ebicoglu","description":"Decodes raw SQL of EF Core for Oracle ODP.Net provider","archived":false,"fork":false,"pushed_at":"2021-03-26T14:09:04.000Z","size":108,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-14T22:30:04.253Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ebicoglu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-25T19:46:26.000Z","updated_at":"2021-03-26T14:09:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"78c17fed-4105-4ca3-80b4-bfa40d3966c0","html_url":"https://github.com/ebicoglu/OracleParameterDecoder","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ebicoglu/OracleParameterDecoder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebicoglu%2FOracleParameterDecoder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebicoglu%2FOracleParameterDecoder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebicoglu%2FOracleParameterDecoder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebicoglu%2FOracleParameterDecoder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ebicoglu","download_url":"https://codeload.github.com/ebicoglu/OracleParameterDecoder/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebicoglu%2FOracleParameterDecoder/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264734469,"owners_count":23655679,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-21T14:48:21.098Z","updated_at":"2025-07-11T05:03:38.292Z","avatar_url":"https://github.com/ebicoglu.png","language":"C#","readme":"# Oracle Raw SQL Parameter Decoder\n\nDecodes raw SQL of EF Core for Oracle ODP.Net provider into a runnable SQL query.\n\n---\n\nTo enable EF Core logging\n\nIn EntityFrameworkCore project enable sensitive data logging:\n\n```\nConfigure\u003cAbpDbContextOptions\u003e(options =\u003e\n{\n    options.UseOracle();\n\n    options.PreConfigure(x =\u003e\n    {\n        x.DbContextOptions.EnableSensitiveDataLogging();\n    });\n}\n```\n\nIn `program.cs` (DbMigrator or Web), set `LogEventLevel` to `Information`. And add `Enrich.FromLogContext();`\n\n```\n            Log.Logger = new LoggerConfiguration()\n                .MinimumLevel.Debug()\n                .MinimumLevel.Override(\"Microsoft\", LogEventLevel.Information)\n                .MinimumLevel.Override(\"Volo.Abp\", LogEventLevel.Warning)\n                .MinimumLevel.Override(\"MyCompanyName.MyProjectName\", LogEventLevel.Debug)\n                .Enrich.FromLogContext()\n                .WriteTo.Async(c =\u003e c.File(\"Logs/logs.txt\"))\n                .Enrich.With(new MyEnrcher())\n                .WriteTo.Async(c =\u003e c.Console(outputTemplate:\n                    \"[{Timestamp:HH:mm:ss} {Level:u3}] ({SourceContext}) {Message:lj}{NewLine}{Exception}\"))\n                .CreateLogger();                \n```\n\n```\ninternal class MyEnrcher : ILogEventEnricher\n{\n        public void Enrich(LogEvent logEvent, ILogEventPropertyFactory propertyFactory)\n        {\n            if (logEvent.Level == LogEventLevel.Error)\n            {\n\n            }\n        }\n }\n```\n\nsome links\n\n*   https://docs.microsoft.com/en-us/ef/core/logging-events-diagnostics/\n*   https://docs.microsoft.com/en-us/archive/msdn-magazine/2018/october/data-points-logging-sql-and-change-tracking-events-in-ef-core\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Febicoglu%2Foracleparameterdecoder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Febicoglu%2Foracleparameterdecoder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Febicoglu%2Foracleparameterdecoder/lists"}