nreco / data

Fast DB-independent DAL for .NET Core: abstract queries, SQL commands builder, schema-less data access, POCO mapping (micro-ORM).
https://www.nrecosite.com/dalc_net.aspx
MIT License
183 stars 39 forks source link

StringTemplate - alternative syntax for tokens #68

Closed VitaliyMF closed 2 years ago

VitaliyMF commented 2 years ago

Currently token placeholders allow only [a-z_-] chars, 2 issues with this:

Both these issues may be fixed by introducing an alternative placeholder's format (similar to .NET MVC Razor):

@(<any_chars_except_closing_braket>)

for example @(date)_@time

VitaliyMF commented 2 years ago

Shipped in 1.2.7