ToDropDown 1.0.0
dotnet add package ToDropDown --version 1.0.0
NuGet\Install-Package ToDropDown -Version 1.0.0
<PackageReference Include="ToDropDown" Version="1.0.0" />
paket add ToDropDown --version 1.0.0
#r "nuget: ToDropDown, 1.0.0"
// Install ToDropDown as a Cake Addin #addin nuget:?package=ToDropDown&version=1.0.0 // Install ToDropDown as a Cake Tool #tool nuget:?package=ToDropDown&version=1.0.0
ToDropDown is Dotnet Core 3.1 Library for the conversion of larger models into only selectlistitem list to avoid the data load. The code is given below.
using ToDropDown;
//Get Data from any source you want as IEnumerable<SelectListItem>. //First parameter : Column Name for Text //Second parameter : Column Name for Value //Third parameter : Value to be selected List<Students> lst = db.Students.ToDropdown("FullName", "Id","10"); //Do whatever you want to do with it. return View(lst);
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.1 is compatible. |
-
.NETCoreApp 3.1
- Microsoft.AspNetCore.Mvc.ViewFeatures (>= 2.2.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 398 | 4/18/2021 |