aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio_v2/Tango.DAL/Attributes/MongoCollectionAttribute.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2019-08-06 10:41:16 +0300
committerRoy Ben-Shabat <Roy@Twine-s.com>2019-08-06 10:41:16 +0300
commite86fe2e8cf34343cf3ebbf4640b2be5e85899615 (patch)
treedee59a2c43b69b6abe20be24059d42ecabcdfffc /Software/Visual_Studio_v2/Tango.DAL/Attributes/MongoCollectionAttribute.cs
parentc1b00ec58a47e504e0247c21c96b55a89e7a95eb (diff)
downloadTango-e86fe2e8cf34343cf3ebbf4640b2be5e85899615.tar.gz
Tango-e86fe2e8cf34343cf3ebbf4640b2be5e85899615.zip
v2 Basic structure.
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;
+ }
+ }
+}