Exemple #1
0
		public void DemoTest()
		{
			var someEntity = new SomeEntity();

			Assert.IsNotNull(someEntity.Author);
			Assert.IsNotNull(someEntity.TenantId);
		}
Exemple #2
0
		static void Main()
		{
			using (new DomainContext(new TenantId("Gedgei Inc."), "Gediminas"))
			{
				var someEntity = new SomeEntity();

				Console.WriteLine(someEntity.TenantId);
				Console.WriteLine(someEntity.Author);
			}

			Console.ReadLine();
		}