mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-02-12 19:22:45 +00:00
17 lines
467 B
C#
17 lines
467 B
C#
using System;
|
|
|
|
namespace Streetwriters.Data.Attributes
|
|
{
|
|
[AttributeUsage(AttributeTargets.Class, Inherited = false)]
|
|
public class BsonCollectionAttribute : Attribute
|
|
{
|
|
public string CollectionName { get; }
|
|
public string DatabaseName { get; }
|
|
|
|
public BsonCollectionAttribute(string databaseName, string collectionName)
|
|
{
|
|
CollectionName = collectionName;
|
|
DatabaseName = databaseName;
|
|
}
|
|
}
|
|
} |