EntityMaxLengthTrim 1.0.3.1800
dotnet add package EntityMaxLengthTrim --version 1.0.3.1800
NuGet\Install-Package EntityMaxLengthTrim -Version 1.0.3.1800
<PackageReference Include="EntityMaxLengthTrim" Version="1.0.3.1800" />
paket add EntityMaxLengthTrim --version 1.0.3.1800
#r "nuget: EntityMaxLengthTrim, 1.0.3.1800"
// Install EntityMaxLengthTrim as a Cake Addin
#addin nuget:?package=EntityMaxLengthTrim&version=1.0.3.1800
// Install EntityMaxLengthTrim as a Cake Tool
#tool nuget:?package=EntityMaxLengthTrim&version=1.0.3.1800
Note This repository is developed for .netstandard1.5+ and net framework 4.5
One important thing about this repository is that you can truncate input string in the fields/properties at the maximum allowed length from DB. To specify the maximum allowed string length you can use data annotation attributes predefined in System.ComponentModel.DataAnnotations
or a new custom attribute.
The maximum allowed length will be searched in the attributes(you may use one of these):
MaxLengthAttribute
→ ([MaxLength(x)]);StringLengthAttribute
→ ([StringLength(x)]);MaxAllowedLengthAttribute
→ ([MaxAllowedLength(x)]).
To get acquainted with a more detailed description, please check the link.
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows |
.NET Core | netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard1.5 netstandard1.6 netstandard2.0 netstandard2.1 |
.NET Framework | net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 net481 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen30 tizen40 tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
-
.NETFramework 4.5
- CodeSource (>= 1.0.4.1723)
- System.ComponentModel.Annotations (>= 5.0.0)
-
.NETStandard 1.5
- CodeSource (>= 1.0.4.1723)
- NETStandard.Library (>= 1.6.1)
- System.ComponentModel.Annotations (>= 5.0.0)
- System.Reflection.TypeExtensions (>= 4.7.0)
- System.Runtime (>= 4.3.1)
-
.NETStandard 2.0
- CodeSource (>= 1.0.4.1723)
- System.ComponentModel.Annotations (>= 5.0.0)
-
.NETStandard 2.1
- CodeSource (>= 1.0.4.1723)
- System.ComponentModel.Annotations (>= 5.0.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on EntityMaxLengthTrim:
Package | Downloads |
---|---|
MSignHelperDotNet
A wrapper for governmental signing service for a quick way to implement it with a few configuration settings. Service is provided by an e-governance agency (https://egov.md/), named `MSign`, available in the Republic of Moldova. |
|
MNotifyHelperDotNet
A wrapper for governmental notification service for a quick way to implement it with a few configuration settings. Service is provided by an e-governance agency (https://egov.md/), named `MNotify`, available in the Republic of Moldova. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.3.1800 | 232 | 1/13/2023 |
1.0.2.2008 | 137 | 1/5/2023 |
1.0.1.644 | 149 | 12/22/2022 |
1.0.0 | 180 | 9/27/2022 |