-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy pathServiceConfiguration.cs
49 lines (45 loc) · 2.18 KB
/
ServiceConfiguration.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
//-----------------------------------------------------------------------------
// <copyright file="ServiceConfiguration.cs" company=".NET Foundation">
// Copyright (c) .NET Foundation and Contributors. All rights reserved.
// See License.txt in the project root for license information.
// </copyright>
//----------------------------------------------------------------------------
using System;
using System.Collections.Generic;
namespace Microsoft.OData.CodeGen.Models
{
public class ServiceConfiguration
{
public string ServiceName { get; set; }
public string Endpoint { get; set; }
public Version EdmxVersion { get; set; }
public string GeneratedFileNamePrefix { get; set; }
public bool UseNamespacePrefix { get; set; }
public string NamespacePrefix { get; set; }
public bool UseDataServiceCollection { get; set; }
public bool MakeTypesInternal { get; set; }
public bool OpenGeneratedFilesInIDE { get; set; }
public bool GenerateMultipleFiles { get; set; }
public bool UseDateTimeOnly { get; set; }
public string CustomHttpHeaders { get; set; }
public bool IncludeWebProxy { get; set; }
public string WebProxyHost { get; set; }
public bool IncludeWebProxyNetworkCredentials { get; set; }
public bool StoreWebProxyNetworkCredentials { get; set; }
public string WebProxyNetworkCredentialsUsername { get; set; }
public string WebProxyNetworkCredentialsPassword { get; set; }
public string WebProxyNetworkCredentialsDomain { get; set; }
public bool IncludeCustomHeaders { get; set; }
public bool StoreCustomHttpHeaders { get; set; }
public List<string> ExcludedSchemaTypes { get; set; }
}
public class ServiceConfigurationV4 : ServiceConfiguration
{
public bool EnableNamingAlias { get; set; }
public bool IgnoreUnexpectedElementsAndAttributes { get; set; }
public bool IncludeT4File { get; set; }
public List<string> ExcludedOperationImports { get; set; }
public List<string> ExcludedBoundOperations { get; set; }
public bool OmitVersioningInfo { get; set; }
}
}