Notices: This section not yet converted to new layout. Download stats are rolling back out.

This is not the latest version of OData2Poco-CommandLine (Install) available.

OData2Poco-CommandLine (Install)

2.2.1

Package test results are passing.

This package was approved by moderator AdmiringWorm on 4/27/2017.

Usage: o2pgen [options]

-r, --url Required. URL of OData feed.
-u, --user User name for authentication.
-p, --password password for authentication.
-f, --filename (Default: poco.cs) filename to save generated c# code.
-x, --metafile Xml filename to save metadata.
-v, --verbose (Default: False) Prints C# code to standard output.
-d, --header (Default: False) List http header of the service
-l, --list (Default: False) List POCO classes to standard output.
-k, --key (Default: False) Add Key attribute [Key]
-t, --table (Default: False) Add Table attribute
-q, --required (Default: False) Add Required attribute
-n, --navigation (Default: False) Add navigation properties
-e, --eager (Default: False) Add non virtual navigation Properties for Eager Loading
-b, --nullable (Default: False) Add nullable data types
-i, --inherit for class inheritance from BaseClass and/or interfaces
-m, --namespace A namespace prefix for the OData namespace
-c, --case (Default: none) Type pas or camel to Convert Property Name to PascalCase or
CamelCase
-a, --attribute Type all attributes separated by one or more space.
Allowed words are:key required json table.
-j, --Json (Default: False) Add JsonProperty Attribute,
example: [JsonProperty(PropertyName = "email")]
--help Display the help screen.

example
myprojectfolder\o2p\o2pgen -r http://services.odata.org/V4/OData/OData.svc -f myprojectfolder\northwind.cs
generate c# POCO clases and write to the file myprojectfolder\northwind.cs

For list of features, read: https://github.com/moh-hassan/odata2poco/blob/master/README.md
How to use, read: https://github.com/moh-hassan/odata2poco/wiki

To install OData2Poco-CommandLine (Install), run the following command from the command line or from PowerShell:

C:\> choco install odata2poco-commandline --version 2.2.1

To upgrade OData2Poco-CommandLine (Install), run the following command from the command line or from PowerShell:

C:\> choco upgrade odata2poco-commandline --version 2.2.1

Files

Hide
  • tools\VERIFICATION.txt Show
    VERIFICATION
    Verification is intended to assist the Chocolatey moderators and community
    in verifying that this package's contents are trustworthy.
     
    To verify the checksum contents run the following command:
    checksum  -f o2pgen.exe  -t sha256 -c E1AD990F66F80CA8D27B92C00F3399EC3B3F5F3DACFAE22C642CCDC38ECE1B8B
  • tools\LICENSE.txt Show
    From: https://github.com/moh-hassan/odata2poco/blob/master/license.txt
    
    LICENSE
    
    The MIT License (MIT)
    
    Copyright (c) 2016 Mohamed Hassan
    
    Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
    
    The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
    
    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
    
    
  • readme.txt Show
    Thanks for installing the CommandLine tool (o2gen)
    O2Pgen version 2.2.1
    o2gen is a CommandLine tool for generating c# POCO classes from OData feeds. Project site: http://odata2poco.codeplex.com
    
    Usage: o2pgen [options]  
      
      -r, --url           Required. URL of OData feed.
      -u, --user          User name for authentication.
      -p, --password      password for authentication.
      -f, --filename      (Default: poco.cs) filename to save generated c# code.
      -x, --metafile      Xml filename to save metadata.
      -v, --verbose       (Default: False) Prints C# code to standard output.
      -d, --header        (Default: False) List  http header of the service
      -l, --list          (Default: False) List POCO classes to standard output.
      -k, --key           (Default: False) Add Key attribute [Key]
      -t, --table         (Default: False) Add Table attribute
      -q, --required      (Default: False) Add Required attribute
      -n, --navigation    (Default: False) Add navigation properties
      -e, --eager         (Default: False) Add non virtual navigation Properties for Eager Loading
      -b, --nullable      (Default: False) Add nullable data types
      -i, --inherit       for class inheritance from  BaseClass and/or interfaces
      -m, --namespace     A namespace prefix for the OData namespace
      -c, --case          (Default: none) Type pas or camel to Convert Property Name to PascalCase or 
                          CamelCase
      -a, --attribute     Type all attributes separated by one or more space. 
                          Allowed words are:key required json table.
      -j, --Json          (Default: False) Add JsonProperty Attribute, 
                          example: [JsonProperty(PropertyName = "email")]
      --help              Display this help screen.
    
    
     example
     myprojectfolder\o2p\o2pgen -r http://services.odata.org/V4/OData/OData.svc -f myprojectfolder\northwind.cs
     generate c# POCO clases and write to the file myprojectfolder\northwind.cs
    
    
  • content\o2p\o2pgen.exe Show
    md5: 0624E96AFBC1B9DF95C76130011DAA97 | sha1: DD381A67574D6C43B93E07BC24D0E5CCA118E9BD | sha256: E1AD990F66F80CA8D27B92C00F3399EC3B3F5F3DACFAE22C642CCDC38ECE1B8B | sha512: AC67B8056ED18A121AE635F18792699F5E512739528C987FB88D5E1E7E9CBB28C902D88ED9FD6114AB2B336786DCF7FA2F9CC113A9B1C8F48ED66C2C9729FC8F

Virus Scan Results

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Dependencies

This package has no dependencies.

Package Maintainer(s)

Software Author(s)

  • Mohamed Hassan

Copyright

2016-2017 Mohamed Hassan

Tags

Release Notes

https://github.com/moh-hassan/odata2poco/blob/master/ReleaseNotes.md

Version History

Version Downloads Last updated Status
odata2poco-commandline 3.0.3 20 Monday, February 25, 2019 approved
OData2Poco-CommandLine (Install) 2.2.1 318 Wednesday, April 26, 2017 approved

Discussion for the OData2Poco-CommandLine (Install) Package

Ground rules:

  • This discussion is only about OData2Poco-CommandLine (Install) and the OData2Poco-CommandLine (Install) package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or OData2Poco-CommandLine (Install), or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus
Chocolatey.org uses cookies to enhance the user experience of the site.
Ok