diff --git a/OrmTest/UnitTest/Mapping .cs b/OrmTest/UnitTest/Mapping .cs
index f792f6c0c..7ca93c597 100644
--- a/OrmTest/UnitTest/Mapping .cs
+++ b/OrmTest/UnitTest/Mapping .cs
@@ -39,7 +39,7 @@ namespace OrmTest.UnitTest
public SqlSugarClient GetInstance()
{
- SqlSugarClient db = new SqlSugarClient(new AttribuiteConfig() { ConnectionString = Config.ConnectionString, DbType = DbType.SqlServer, IsAutoCloseConnection = true, EntityNamespace= "OrmTest.Models" });
+ SqlSugarClient db = new SqlSugarClient(new AttributeConfig() { ConnectionString = Config.ConnectionString, DbType = DbType.SqlServer, IsAutoCloseConnection = true, EntityNamespace= "OrmTest.Models" });
return db;
}
}
diff --git a/SqlSugar/Entities/ConnectionConfig.cs b/SqlSugar/Entities/ConnectionConfig.cs
index bf78ab154..6e428c2f6 100644
--- a/SqlSugar/Entities/ConnectionConfig.cs
+++ b/SqlSugar/Entities/ConnectionConfig.cs
@@ -19,7 +19,7 @@ namespace SqlSugar
public bool IsAutoCloseConnection { get; set; }
}
- public class AttribuiteConfig : IConnectionConfig
+ public class AttributeConfig : IConnectionConfig
{
public string EntityNamespace { get; set; }
public string DbType { get; set; }
diff --git a/SqlSugar/Entities/DetaultT.cs b/SqlSugar/Entities/SugarDynamic.cs
similarity index 100%
rename from SqlSugar/Entities/DetaultT.cs
rename to SqlSugar/Entities/SugarDynamic.cs
diff --git a/SqlSugar/SqlSugar.csproj b/SqlSugar/SqlSugar.csproj
index 2036c32f1..3de907f6f 100644
--- a/SqlSugar/SqlSugar.csproj
+++ b/SqlSugar/SqlSugar.csproj
@@ -93,7 +93,7 @@
-
+
diff --git a/SqlSugar/SqlSugarAccessory.cs b/SqlSugar/SqlSugarAccessory.cs
index e97a93461..3769e65f7 100644
--- a/SqlSugar/SqlSugarAccessory.cs
+++ b/SqlSugar/SqlSugarAccessory.cs
@@ -30,7 +30,7 @@ namespace SqlSugar
protected void InitConstructor()
{
this.ContextID = Guid.NewGuid();
- if (this.CurrentConnectionConfig is AttribuiteConfig)
+ if (this.CurrentConnectionConfig is AttributeConfig)
{
string cacheKey = "Context.InitAttributeMappingTables";
CacheFactory.Action>(cacheKey,
diff --git a/SqlSugar/SqlSugarClient.cs b/SqlSugar/SqlSugarClient.cs
index 2f0f069bc..a2ebae3d7 100644
--- a/SqlSugar/SqlSugarClient.cs
+++ b/SqlSugar/SqlSugarClient.cs
@@ -40,7 +40,7 @@ namespace SqlSugar
/// If you do not have system table permissions, use this
///
///
- public SqlSugarClient(AttribuiteConfig config)
+ public SqlSugarClient(AttributeConfig config)
{
base.Context = this;
base.CurrentConnectionConfig = config;
@@ -69,7 +69,7 @@ namespace SqlSugar
///
///
///
- public SqlSugarClient(AttribuiteConfig masterConnectionConfig, IConnectionConfig[] slaveConnectionConfigs)
+ public SqlSugarClient(AttributeConfig masterConnectionConfig, IConnectionConfig[] slaveConnectionConfigs)
{
base.Context = this;
base.CurrentConnectionConfig = masterConnectionConfig;