C# client to interact with a particular PocketBase application: an ORM mapped to your PocketBase server. [This project is in active development. The things described below could change]
MIT License
39
stars
8
forks
source link
Dealing with PocketBase fields with unexpected names #30
PocketBase allows field names that can not be translated correctly to Properties in C#:
_
-> Is translated to Empty string__
-> Is translated to Empty string. Same PropertyName as_
1
-> Is translated to "1", forbidden name for a Property_1
,1_
,_1_
-> All translated to "1", forbidden name for a Property. Same PropertyName as1
And allows multiple fields that will be translated to the same Property name in C#:
field
,_field
,__field
,_field_
-> All translated to same PropertyName:Field
my_field
,my__field
,_myField_
,MyField
-> All translated to same PropertyName:MyField