-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Case option not applied to type names #28
Comments
Welcome to Odata2Poco project. |
A new package v3.3.0 is released that fix your issue. The new features: You can download: Try the filter option using --include o2pgen -r http://services.odata.org/V4/TripPinServiceRW -v --entity-case camel How to use: read wiki Let me know if that version fixes your issue. |
Hi @moh-hassan , I have tried the new option --entity-case pas and works as a charm for entity names, but for navigation properties that references this entities the name of the type is not pascal-case causing compiling errors. For example: public class Address{
public string Name {get;set;}
}
public class Contact{
public address Address {get;set;}
} Thanks!! |
Thanks @miqueljuan for feedback. |
The issue is fixed in v3.3.1. |
Thanks @moh-hassan , works perfectly!! |
Is there a possibility to apply -c option to poco class names, enum type names? For properties works as expected.
Thanks for your work!!
The text was updated successfully, but these errors were encountered: