1
0
mirror of synced 2025-12-19 09:50:46 -05:00
Files
core/release-notes/1.0/1.0.0-api/1.0.0-api_System.ComponentModel.DataAnnotations.Schema.md
Rich Lander 8c8e5836c3 Fix linter errors in repo (#9689)
* Fix linter errors

* Update links
2025-01-13 21:40:52 -08:00

1.4 KiB

System.ComponentModel.DataAnnotations.Schema

+namespace System.ComponentModel.DataAnnotations.Schema {
+    public class ColumnAttribute : Attribute {
+        public ColumnAttribute();
+        public ColumnAttribute(string name);
+        public string Name { get; }
+        public int Order { get; set; }
+        public string TypeName { get; set; }
+    }
+    public class ComplexTypeAttribute : Attribute {
+        public ComplexTypeAttribute();
+    }
+    public class DatabaseGeneratedAttribute : Attribute {
+        public DatabaseGeneratedAttribute(DatabaseGeneratedOption databaseGeneratedOption);
+        public DatabaseGeneratedOption DatabaseGeneratedOption { get; }
+    }
+    public enum DatabaseGeneratedOption {
+        Computed = 2,
+        Identity = 1,
+        None = 0,
+    }
+    public class ForeignKeyAttribute : Attribute {
+        public ForeignKeyAttribute(string name);
+        public string Name { get; }
+    }
+    public class InversePropertyAttribute : Attribute {
+        public InversePropertyAttribute(string property);
+        public string Property { get; }
+    }
+    public class NotMappedAttribute : Attribute {
+        public NotMappedAttribute();
+    }
+    public class TableAttribute : Attribute {
+        public TableAttribute(string name);
+        public string Name { get; }
+        public string Schema { get; set; }
+    }
+}