aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio_v2/Tango.DAL/Attributes/MongoCollectionAttribute.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio_v2/Tango.DAL/Attributes/MongoCollectionAttribute.cs')
-rw-r--r--Software/Visual_Studio_v2/Tango.DAL/Attributes/MongoCollectionAttribute.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/Software/Visual_Studio_v2/Tango.DAL/Attributes/MongoCollectionAttribute.cs b/Software/Visual_Studio_v2/Tango.DAL/Attributes/MongoCollectionAttribute.cs
new file mode 100644
index 000000000..50b585698
--- /dev/null
+++ b/Software/Visual_Studio_v2/Tango.DAL/Attributes/MongoCollectionAttribute.cs
@@ -0,0 +1,17 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace Tango.DAL.Attributes
+{
+ [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
+ public class MongoCollectionAttribute : Attribute
+ {
+ public String Name { get; set; }
+
+ public MongoCollectionAttribute(String name)
+ {
+ Name = name;
+ }
+ }
+}