{"id":18664345,"url":"https://github.com/dzsquared/dac-publishcontributor","last_synced_at":"2026-07-10T22:31:44.409Z","repository":{"id":41199677,"uuid":"382161086","full_name":"dzsquared/Dac-PublishContributor","owner":"dzsquared","description":null,"archived":false,"fork":false,"pushed_at":"2021-07-02T20:06:28.000Z","size":27,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-24T02:56:25.060Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dzsquared.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-07-01T21:32:44.000Z","updated_at":"2022-06-29T13:39:24.000Z","dependencies_parsed_at":"2022-09-12T14:32:19.056Z","dependency_job_id":null,"html_url":"https://github.com/dzsquared/Dac-PublishContributor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dzsquared/Dac-PublishContributor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dzsquared%2FDac-PublishContributor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dzsquared%2FDac-PublishContributor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dzsquared%2FDac-PublishContributor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dzsquared%2FDac-PublishContributor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dzsquared","download_url":"https://codeload.github.com/dzsquared/Dac-PublishContributor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dzsquared%2FDac-PublishContributor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35345661,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-10T02:00:06.465Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2024-11-07T08:23:08.883Z","updated_at":"2026-07-10T22:31:44.387Z","avatar_url":"https://github.com/dzsquared.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sample DacFx Deployment Contributors for Filtering by Object Name or Schema\n\n## Project Description\nScope reduction from the Microsoft [DACExtensions samples](https://github.com/microsoft/DACExtensions).  \n\n## Prerequisites\nAn installation of SQL Server Data Tools or DacFx is required to run these samples. The sample projects include references to DLLs in a Visual Studio installation with the most recent release of SQL Server Data Tools.\n\nThe compiled dlls can be utilized with the DacFx installation included with SQL Server Data Tools, the DacFx [Windows-only DacFx.msi](https://docs.microsoft.com/sql/tools/sqlpackage/sqlpackage-download), or the [cross-platform SqlPackage.exe](https://docs.microsoft.com/sql/tools/sqlpackage/sqlpackage-download).\n\n## Usage\nAbbreviate use information:\n1. Build the samples in Visual Studio\n2. Copy the dll `Public.Dac.SampleDeploymentFilter.dll` into the DacFx extensions folder or folder with SqlPackage\n3. Execute the publish command with additional properties `/p:AdditionalDeploymentContributors` and `/p:AdditionalDeploymentContributorArguments`\n\n### Example 1, Does not publish object named \"Customer\"\n```bash\n./sqlpackage.exe /a:Publish /sf:\"c:\\sampledatabase.dacpac\" /tsn:yourservername /tu:sa /tp:yourpassword /p:AdditionalDeploymentContributors=Public.Dac.SampleFilters.PlanFilterer /p:AdditionalDeploymentContributorArguments=\"FilterName=ObjectBasedFilter;ObjectName=Customer\"\n```\n\n### Example 2, Does not publish the dbo schema\n```bash\n./sqlpackage.exe /a:Publish /sf:\"c:\\sampledatabase.dacpac\" /tsn:yourservername /tu:sa /tp:yourpassword /p:AdditionalDeploymentContributors=Public.Dac.SampleFilters.PlanFilterer /p:AdditionalDeploymentContributorArguments=\"FilterName=SchemaBasedFilter;Schema=dbo\"\n```\n\n\n## License\nThis project continues to carry the [MIT License](LICENSE) from the parent project, [DACExtensions samples](https://github.com/microsoft/DACExtensions).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdzsquared%2Fdac-publishcontributor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdzsquared%2Fdac-publishcontributor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdzsquared%2Fdac-publishcontributor/lists"}