mirror of
				https://github.com/esiur/esiur-dotnet.git
				synced 2025-10-30 23:51:34 +00:00 
			
		
		
		
	2.2
This commit is contained in:
		
							
								
								
									
										20
									
								
								Test.Client/localhost/Test.MyResource.Generated.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								Test.Client/localhost/Test.MyResource.Generated.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,20 @@ | ||||
| using System; | ||||
| using Esiur.Resource; | ||||
| using Esiur.Core; | ||||
| using Esiur.Data; | ||||
| using Esiur.Net.IIP; | ||||
| namespace Test { | ||||
| public class MyResource : DistributedResource { | ||||
| public MyResource(DistributedConnection connection, uint instanceId, ulong age, string link) : base(connection, instanceId, age, link) {} | ||||
| public MyResource() {} | ||||
| public string Description { | ||||
| get => (string)properties[0]; | ||||
| set =>  _Set(0, value); | ||||
| } | ||||
| public int CategoryId { | ||||
| get => (int)properties[1]; | ||||
| set =>  _Set(1, value); | ||||
| } | ||||
|  | ||||
| } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user