@@ -919,7 +919,7 @@ public class ColumnInfo
919919 {
920920 // public int cid { get; set; }
921921
922- [ Column ( "name" ) , UnityEngine . Scripting . RequiredMember ]
922+ [ Column ( "name" ) ]
923923 public string Name { get ; set ; }
924924
925925 // [Column ("type")]
@@ -2454,7 +2454,7 @@ public TableAttribute (string name)
24542454 }
24552455
24562456 [ AttributeUsage ( AttributeTargets . Property ) ]
2457- public class ColumnAttribute : Attribute
2457+ public class ColumnAttribute : UnityEngine . Scripting . PreserveAttribute
24582458 {
24592459 public string Name { get ; set ; }
24602460
@@ -2465,17 +2465,17 @@ public ColumnAttribute (string name)
24652465 }
24662466
24672467 [ AttributeUsage ( AttributeTargets . Property ) ]
2468- public class PrimaryKeyAttribute : Attribute
2468+ public class PrimaryKeyAttribute : UnityEngine . Scripting . PreserveAttribute
24692469 {
24702470 }
24712471
24722472 [ AttributeUsage ( AttributeTargets . Property ) ]
2473- public class AutoIncrementAttribute : Attribute
2473+ public class AutoIncrementAttribute : UnityEngine . Scripting . PreserveAttribute
24742474 {
24752475 }
24762476
24772477 [ AttributeUsage ( AttributeTargets . Property , AllowMultiple = true ) ]
2478- public class IndexedAttribute : Attribute
2478+ public class IndexedAttribute : UnityEngine . Scripting . PreserveAttribute
24792479 {
24802480 public string Name { get ; set ; }
24812481 public int Order { get ; set ; }
@@ -2507,7 +2507,7 @@ public override bool Unique {
25072507 }
25082508
25092509 [ AttributeUsage ( AttributeTargets . Property ) ]
2510- public class MaxLengthAttribute : Attribute
2510+ public class MaxLengthAttribute : UnityEngine . Scripting . PreserveAttribute
25112511 {
25122512 public int Value { get ; private set ; }
25132513
@@ -2529,7 +2529,7 @@ public sealed class PreserveAttribute : System.Attribute
25292529 /// "BINARY" is the default.
25302530 /// </summary>
25312531 [ AttributeUsage ( AttributeTargets . Property ) ]
2532- public class CollationAttribute : Attribute
2532+ public class CollationAttribute : UnityEngine . Scripting . PreserveAttribute
25332533 {
25342534 public string Value { get ; private set ; }
25352535
@@ -2540,12 +2540,12 @@ public CollationAttribute (string collation)
25402540 }
25412541
25422542 [ AttributeUsage ( AttributeTargets . Property ) ]
2543- public class NotNullAttribute : Attribute
2543+ public class NotNullAttribute : UnityEngine . Scripting . PreserveAttribute
25442544 {
25452545 }
25462546
25472547 [ AttributeUsage ( AttributeTargets . Enum ) ]
2548- public class StoreAsTextAttribute : Attribute
2548+ public class StoreAsTextAttribute : UnityEngine . Scripting . PreserveAttribute
25492549 {
25502550 }
25512551
0 commit comments