<query_method> ::= <add_query_method> | <get_query_method> | <count_query_method> | <exists_query_method> | <update_query_method> | <remove_query_method>
<add_query_method>
<get_query_method> ::= "Get" <select_expression> {"By" <search_expression>} [<order_expression>]
<count_query_method>
<exists_query_method>
<update_query_method>
<remove_query_method>
<select_expression> ::= "All" | {"First" <number>}
<search_expression> ::= <search_criteria> {<conjunction> <search_criteria>}
<search_criteria> ::= <property> ("StartingWith" | "Equals")
<conjunction> ::= "And" | "Or"
<property> ::= ...
<number> ::=
<query_method> ::= <method_prefix> <domain_property_expression> [<predicate_expression>] [<order_by_expression>]
<method_prefix> ::= "find" | "read" | "get" | "query" | "count" | "delete" | "remove" | "exists"
<domain_property_expression> ::= "By" <property> {<conjunction> <property>}
<predicate_expression> ::= <comparison_operator> | <logical_operator> | <keyword_expression>
<comparison_operator> ::= "Is" <equality_operator>
| "Equals"
| "Not" <equality_operator>
| "LessThan" | "LessThanEqual"
| "GreaterThan" | "GreaterThanEqual"
| "Like" | "NotLike"
| "In" | "NotIn"
| "Between"
<equality_operator> ::= "True" | "False" | "Null" | "NotNull" | "Empty" | "NotEmpty"
<logical_operator> ::= "And" | "Or"
<keyword_expression> ::= "StartingWith" | "EndingWith" | "Containing" | "OrderBy" | "Top" <number> | "First" <number>
<order_by_expression> ::= "OrderBy" <property> ("Asc" | "Desc")
<property> ::= <valid_property_name>
<conjunction> ::= "And" | "Or"
<number> ::= <digit> {<digit>}
<digit> ::= "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9"
-
Notifications
You must be signed in to change notification settings - Fork 0
Adiras/smart-repo
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
Source-generated Repository pattern for .NET applications — automatically generates strongly-typed data access layers at compile time.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published