MongoServices 0.2.0
A Service/Repository Framework for mongoDB
C:/Development/MongoServices/Source/MongoServices/Attributes/MongoCollectionNameAttribute.cs
Go to the documentation of this file.
00001 using System;
00002 using System.Collections.Generic;
00003 using System.Linq;
00004 using System.Text;
00005 
00006 namespace MongoServices
00007 {
00012         [AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
00013         public sealed class MongoCollectionNameAttribute : Attribute
00014         {
00015                 #region Public Properties
00016 
00017 
00018 
00019                 public string CollectionName { get; private set; }
00020                 #endregion
00021 
00022                 #region Public Constructors
00023 
00024 
00025 
00026 
00027                 public MongoCollectionNameAttribute(string collectionName)
00028                 {
00029                         CollectionName = collectionName;
00030                 }
00031                 #endregion
00032         }
00033 }
 All Classes Namespaces Files Functions Enumerations Properties