{"id":18664330,"url":"https://github.com/dzsquared/smo-starter-app","last_synced_at":"2025-08-21T02:08:22.248Z","repository":{"id":95258126,"uuid":"524220349","full_name":"dzsquared/smo-starter-app","owner":"dzsquared","description":"Sample SQL Management Objects (SMO) starter dotnet console app","archived":false,"fork":false,"pushed_at":"2022-08-12T21:15:22.000Z","size":67,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-04T01:39:56.514Z","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-12T20:46:55.000Z","updated_at":"2022-08-12T21:08:47.000Z","dependencies_parsed_at":"2023-03-13T16:52:36.193Z","dependency_job_id":null,"html_url":"https://github.com/dzsquared/smo-starter-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dzsquared/smo-starter-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dzsquared%2Fsmo-starter-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dzsquared%2Fsmo-starter-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dzsquared%2Fsmo-starter-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dzsquared%2Fsmo-starter-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dzsquared","download_url":"https://codeload.github.com/dzsquared/smo-starter-app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dzsquared%2Fsmo-starter-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271415496,"owners_count":24755639,"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","status":"online","status_checked_at":"2025-08-21T02:00:08.990Z","response_time":74,"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:06.840Z","updated_at":"2025-08-21T02:08:22.227Z","avatar_url":"https://github.com/dzsquared.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SQL Management Objects (SMO) starter app\n\nThis is a sample app that shows how to use the [SQL Management Objects (SMO)](https://github.com/microsoft/sqlmanagementobjects) library to access APIs for managing and scripting SQL (SQL Server and Azure SQL).\n\n- connects to a local SQL instance\n- scripts the tables in a specific database\n\n![smo sample run](./sample-run.png)\n\n## More information about SQL Management Objects (SMO) available in:\n- the source code at https://github.com/microsoft/sqlmanagementobjects\n- the documentation at https://docs.microsoft.com/sql/relational-databases/server-management-objects-smo/overview-smo\n\n## Start from this sample\n\n### Prerequisites\n1. The sample targets .NET 6.  Check that you have dotnet 6 installed with `dotnet --list-sdks`.\n2. The sample requires an available SQL instance (SQL Server or Azure SQL). Update the sample code to match your available test environment.\n\n\n## Use the sample\n1. Clone the repository to your local machine\n2. Run `dotnet restore` to restore the dependencies, including SMO\n3. Run `dotnet build` to check that everything compiles\n4. Run `dotnet run` to run the sample","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdzsquared%2Fsmo-starter-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdzsquared%2Fsmo-starter-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdzsquared%2Fsmo-starter-app/lists"}