From d8e9789c486eca02698b1fbb59298a572c1b05ea Mon Sep 17 00:00:00 2001 From: Andrea Cattaneo Date: Thu, 29 Dec 2022 10:43:54 +0100 Subject: [PATCH] DbField AttributeUsage --- ACUtils.SqlDb.Utils/ACUtils.SqlDb.Utils.csproj | 4 ++-- ACUtils.SqlDb.Utils/DbFieldAttribute.cs | 1 + ACUtils.SqlDb/ACUtils.SqlDb.csproj | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ACUtils.SqlDb.Utils/ACUtils.SqlDb.Utils.csproj b/ACUtils.SqlDb.Utils/ACUtils.SqlDb.Utils.csproj index 78356ad..7bb86e0 100644 --- a/ACUtils.SqlDb.Utils/ACUtils.SqlDb.Utils.csproj +++ b/ACUtils.SqlDb.Utils/ACUtils.SqlDb.Utils.csproj @@ -4,8 +4,8 @@ Andrea Cattaneo true false - 1.0.0.144 - 1.0.0.144 + 1.0.0.145 + 1.0.0.145 Utilities per gestione DataTable it true diff --git a/ACUtils.SqlDb.Utils/DbFieldAttribute.cs b/ACUtils.SqlDb.Utils/DbFieldAttribute.cs index f99d0f9..d47c1ca 100644 --- a/ACUtils.SqlDb.Utils/DbFieldAttribute.cs +++ b/ACUtils.SqlDb.Utils/DbFieldAttribute.cs @@ -1,5 +1,6 @@ namespace ACUtils { + [System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple = false, Inherited = true)] public class DbFieldAttribute : System.Attribute, IDbFieldAttribute { public string DbField { get; protected set; } diff --git a/ACUtils.SqlDb/ACUtils.SqlDb.csproj b/ACUtils.SqlDb/ACUtils.SqlDb.csproj index 57eee43..ca77bea 100644 --- a/ACUtils.SqlDb/ACUtils.SqlDb.csproj +++ b/ACUtils.SqlDb/ACUtils.SqlDb.csproj @@ -5,8 +5,8 @@ Andrea Cattaneo true false - 1.0.0.147 - 1.0.0.147 + 1.0.0.148 + 1.0.0.148 Utility per interrogazione database MSSQL it true