miniSql

创建
zgc123@gmail.com authored at 11/19/2023 1:40:15 AM
6136600
Tree
0 Parent(s)
Summary: 1 changed files with 54 additions and 0 deletions.
Added +54 -0
Added +54 -0
diff --git a/minisqlquery-master/src/MiniSqlQuery.Core/DbModel/DbModelConstraint.cs b/minisqlquery-master/src/MiniSqlQuery.Core/DbModel/DbModelConstraint.cs
new file mode 100644
index 0000000..ad2f12a
--- /dev/null
+++ b/minisqlquery-master/src/MiniSqlQuery.Core/DbModel/DbModelConstraint.cs
@@ -0,0 +1,54 @@
+#region License
+
+// Copyright 2005-2019 Paul Kohler (https://github.com/paulkohler/minisqlquery). All rights reserved.
+// This source code is made available under the terms of the GNU Lesser General Public License v3.0
+// https://github.com/paulkohler/minisqlquery/blob/master/LICENSE
+#endregion
+
+
+namespace MiniSqlQuery.Core.DbModel
+{
+    /// <summary>The db model constraint.</summary>
+    public class DbModelConstraint
+    {
+        /// <summary>Gets or sets ColumnName.</summary>
+        /// <value>The column name.</value>
+        public string ColumnName { get; set; }
+
+        /// <summary>Gets or sets ConstraintName.</summary>
+        /// <value>The constraint name.</value>
+        public string ConstraintName { get; set; }
+
+        /// <summary>Gets or sets ConstraintTableName.</summary>
+        /// <value>The constraint table name.</value>
+        public string ConstraintTableName { get; set; }
+
+        /// <summary>Gets or sets ConstraintTableSchema.</summary>
+        /// <value>The constraint table schema.</value>
+        public string ConstraintTableSchema { get; set; }
+
+        /// <summary>Gets or sets DeleteRule.</summary>
+        /// <value>The delete rule.</value>
+        public string DeleteRule { get; set; }
+
+        /// <summary>Gets or sets UniqueColumnName.</summary>
+        /// <value>The unique column name.</value>
+        public string UniqueColumnName { get; set; }
+
+        /// <summary>Gets or sets UniqueConstraintName.</summary>
+        /// <value>The unique constraint name.</value>
+        public string UniqueConstraintName { get; set; }
+
+        /// <summary>Gets or sets UniqueConstraintTableName.</summary>
+        /// <value>The unique constraint table name.</value>
+        public string UniqueConstraintTableName { get; set; }
+
+        /// <summary>Gets or sets UniqueConstraintTableSchema.</summary>
+        /// <value>The unique constraint table schema.</value>
+        public string UniqueConstraintTableSchema { get; set; }
+
+        /// <summary>Gets or sets UpdateRule.</summary>
+        /// <value>The update rule.</value>
+        public string UpdateRule { get; set; }
+    }
+}
\ No newline at end of file