ExternalStorageAttribute.cs 736 B

1234567891011121314151617181920
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace InABox.Core
  5. {
  6. /// <summary>
  7. /// Indicates that this property is one that should, if necessary, be stored externally; for example, it may be a BLOB-type data, and would
  8. /// thus be not suitable for database storage; perhaps it should be a file.
  9. /// </summary>
  10. /// <remarks>
  11. /// The exact implementation of this property is specific to the SQL provider; it may not do anything.
  12. /// <br/>
  13. /// Any property marked with <see cref="ExternalStorageAttribute"/> should be a <see cref="byte[]"/>.
  14. /// </remarks>
  15. [AttributeUsage(AttributeTargets.Property)]
  16. public class ExternalStorageAttribute : Attribute
  17. {
  18. }
  19. }