View Program.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using MongoDB.Driver; | |
using MongoDB.Entities; | |
using MongoDB.Entities.Core; | |
using System; | |
using System.Linq; | |
namespace StackOverFlow | |
{ | |
public class Product : Entity | |
{ |
View Program.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using MongoDB.Bson; | |
using MongoDB.Bson.Serialization.Attributes; | |
using MongoDB.Driver; | |
using MongoDB.Entities; | |
using MongoDB.Entities.Core; | |
using System.Linq; | |
namespace StackOverFlow | |
{ | |
public class Channel : Entity |
View Program.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using MongoDB.Entities; | |
using MongoDB.Entities.Core; | |
using System; | |
namespace StackOverFlow | |
{ | |
public class UnitTravelHistory : Entity | |
{ | |
public long JobDuration { get; set; } | |
public DateTime Start { get; set; } |
View Program.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using MongoDB.Driver; | |
using MongoDB.Entities; | |
using MongoDB.Entities.Core; | |
using System; | |
namespace StackOverFlow | |
{ | |
public class Item : Entity | |
{ | |
public DateTime DateOfCreation { get; set; } |
View Program.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using MongoDB.Entities; | |
using MongoDB.Entities.Core; | |
using System.Linq; | |
namespace StackOverFlow | |
{ | |
public class Item : Entity | |
{ | |
public int a { get; set; } | |
public int b { get; set; } |
View Program.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using MongoDB.Entities; | |
using MongoDB.Entities.Core; | |
using System; | |
using System.Linq; | |
namespace StackOverFlow | |
{ | |
public class AutoSave : Entity | |
{ | |
public string[] Templates { get; set; } |
View Program.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using MongoDB.Bson; | |
using MongoDB.Driver; | |
using MongoDB.Entities; | |
using MongoDB.Entities.Core; | |
using System.Linq; | |
namespace StackOverFlow | |
{ | |
public class OptionMenu : Entity | |
{ |
View Program.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using MongoDB.Driver; | |
using MongoDB.Driver.Linq; | |
using MongoDB.Entities; | |
using System.Linq; | |
using System.Threading.Tasks; | |
namespace TestApplication | |
{ | |
public class User : Entity | |
{ |
View Program.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using MongoDB.Entities; | |
using System; | |
using System.Threading.Tasks; | |
namespace TestProg | |
{ | |
internal static class Program | |
{ | |
public class ArtGallery : Entity | |
{ |
View Program.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using MongoDB.Bson; | |
using MongoDB.Bson.Serialization.Attributes; | |
using MongoDB.Driver; | |
using MongoDB.Entities; | |
using MongoDB.Entities.Core; | |
using System.Linq; | |
namespace TestApp | |
{ | |
public class Team : Entity |
OlderNewer