Downloads:
1,511
Downloads of v 2.2.1:
512
Last Update:
26 Apr 2017
Package Maintainer(s):
Software Author(s):
- Mohamed Hassan
Tags:
odata2poco-commandline OData code-generation poco- Software Specific:
- Software Site
- Software Source
- Software License
- Software Docs
- Software Issues
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
OData2Poco-CommandLine (Install)
This is not the latest version of OData2Poco-CommandLine (Install) available.
- 1
- 2
- 3
2.2.1 | Updated: 26 Apr 2017
- Software Specific:
- Software Site
- Software Source
- Software License
- Software Docs
- Software Issues
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
Downloads:
1,511
Downloads of v 2.2.1:
512
Maintainer(s):
Software Author(s):
- Mohamed Hassan
OData2Poco-CommandLine (Install) 2.2.1
This is not the latest version of OData2Poco-CommandLine (Install) available.
- 1
- 2
- 3
All Checks are Passing
3 Passing Tests
Deployment Method: Individual Install, Upgrade, & Uninstall
To install OData2Poco-CommandLine (Install), run the following command from the command line or from PowerShell:
To upgrade OData2Poco-CommandLine (Install), run the following command from the command line or from PowerShell:
To uninstall OData2Poco-CommandLine (Install), run the following command from the command line or from PowerShell:
Deployment Method:
This applies to both open source and commercial editions of Chocolatey.
1. Enter Your Internal Repository Url
(this should look similar to https://community.chocolatey.org/api/v2/)
2. Setup Your Environment
1. Ensure you are set for organizational deployment
Please see the organizational deployment guide
2. Get the package into your environment
Option 1: Cached Package (Unreliable, Requires Internet - Same As Community)-
Open Source or Commercial:
- Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
- You can also just download the package and push it to a repository Download
-
Open Source
-
Download the package:
Download - Follow manual internalization instructions
-
-
Package Internalizer (C4B)
-
Run: (additional options)
choco download odata2poco-commandline --internalize --version=2.2.1 --source=https://community.chocolatey.org/api/v2/
-
For package and dependencies run:
choco push --source="'INTERNAL REPO URL'"
- Automate package internalization
-
Run: (additional options)
3. Copy Your Script
choco upgrade odata2poco-commandline -y --source="'INTERNAL REPO URL'" --version="'2.2.1'" [other options]
See options you can pass to upgrade.
See best practices for scripting.
Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.
If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:
choco upgrade odata2poco-commandline -y --source="'INTERNAL REPO URL'" --version="'2.2.1'"
$exitCode = $LASTEXITCODE
Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
Exit 0
}
Exit $exitCode
- name: Install odata2poco-commandline
win_chocolatey:
name: odata2poco-commandline
version: '2.2.1'
source: INTERNAL REPO URL
state: present
See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.
chocolatey_package 'odata2poco-commandline' do
action :install
source 'INTERNAL REPO URL'
version '2.2.1'
end
See docs at https://docs.chef.io/resource_chocolatey_package.html.
cChocoPackageInstaller odata2poco-commandline
{
Name = "odata2poco-commandline"
Version = "2.2.1"
Source = "INTERNAL REPO URL"
}
Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.
package { 'odata2poco-commandline':
ensure => '2.2.1',
provider => 'chocolatey',
source => 'INTERNAL REPO URL',
}
Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.
4. If applicable - Chocolatey configuration/installation
See infrastructure management matrix for Chocolatey configuration elements and examples.
This package was approved by moderator AdmiringWorm on 27 Apr 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
md5: 0624E96AFBC1B9DF95C76130011DAA97 | sha1: DD381A67574D6C43B93E07BC24D0E5CCA118E9BD | sha256: E1AD990F66F80CA8D27B92C00F3399EC3B3F5F3DACFAE22C642CCDC38ECE1B8B | sha512: AC67B8056ED18A121AE635F18792699F5E512739528C987FB88D5E1E7E9CBB28C902D88ED9FD6114AB2B336786DCF7FA2F9CC113A9B1C8F48ED66C2C9729FC8F
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
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.
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
Log in or click on link to see number of positives.
- odata2poco-commandline.2.2.1.nupkg (22c1743fd9ae) - ## / 59
- o2pgen.exe (e1ad990f66f8) - ## / 62
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.
Add to Builder | Version | Downloads | Last Updated | Status |
---|---|---|---|---|
odata2poco commandline 5.0.1 | 29 | Wednesday, October 5, 2022 | Approved | |
odata2poco commandline 4.3.1.20220812 | 37 | Friday, August 12, 2022 | Approved | |
odata2poco commandline 4.1.0 | 124 | Monday, November 15, 2021 | Approved | |
odata2poco commandline (Install) 4.0.0 | 119 | Monday, November 1, 2021 | Approved | |
odata2poco-commandline 3.1.0 | 519 | Friday, March 8, 2019 | Approved | |
odata2poco-commandline 3.0.3 | 159 | Monday, February 25, 2019 | Approved | |
OData2Poco-CommandLine (Install) 2.2.1 | 512 | Wednesday, April 26, 2017 | Approved |
2016-2017 Mohamed Hassan
This package has no dependencies.
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.