{"id":26038846,"url":"https://github.com/caramelsalmon/entityselector","last_synced_at":"2026-05-29T12:02:53.971Z","repository":{"id":280972144,"uuid":"943785959","full_name":"caramelsalmon/EntitySelector","owner":"caramelsalmon","description":"實體資料模型清單選擇器,傳入任何類型實體清單,返回選擇的實體","archived":false,"fork":false,"pushed_at":"2025-03-06T09:35:59.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-06T10:23:26.748Z","etag":null,"topics":["csharp","ef6","entity-framework","extension","winform"],"latest_commit_sha":null,"homepage":"","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/caramelsalmon.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":"2025-03-06T09:07:56.000Z","updated_at":"2025-03-06T09:36:02.000Z","dependencies_parsed_at":"2025-03-06T10:23:29.450Z","dependency_job_id":"c51f6808-1820-46f3-9b99-61f054c141e9","html_url":"https://github.com/caramelsalmon/EntitySelector","commit_stats":null,"previous_names":["caramelsalmon/entityselector"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caramelsalmon%2FEntitySelector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caramelsalmon%2FEntitySelector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caramelsalmon%2FEntitySelector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caramelsalmon%2FEntitySelector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caramelsalmon","download_url":"https://codeload.github.com/caramelsalmon/EntitySelector/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242378155,"owners_count":20118173,"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":["csharp","ef6","entity-framework","extension","winform"],"created_at":"2025-03-07T10:37:10.593Z","updated_at":"2026-05-29T12:02:53.964Z","avatar_url":"https://github.com/caramelsalmon.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EntitySelector\n實體資料模型清單選擇器,傳入任何類型實體清單,返回選擇的實體.\n\n範例使用微軟EF6(實體資料模型)及[ObjectListView第三方套件](https://objectlistview.sourceforge.net/cs/index.html)(用於呈現清單)\n\n使用方法:\n\n假設想從實體資料模型dAccTitle的清單中選擇一筆資料,並將選擇的實體屬性值賦予textbox.\n\n泛型T 是 dAccTitle.\n\nFilter 是可選參數 Expression\u003cFunc\u003cT, bool\u003e\u003e ,可自定義篩選條件.\n\n\nvar dAccTitle = db.dAccTitle.Selector(Filter);  //  呼叫dAccTitle的選擇器,並返回選擇的實體\n\nif (dAccTitle != null)\n    textbox.Text = dAccTitle.name_c;            //  將選擇的實體屬性值賦予textbox\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaramelsalmon%2Fentityselector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaramelsalmon%2Fentityselector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaramelsalmon%2Fentityselector/lists"}