Skip to content
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

Removed the lookup for Scale=Variable as read-only property, as some … #28

Merged
merged 1 commit into from
Jan 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Version>10.0.16</Version>
<Version>10.0.17</Version>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<Title>OData Provider</Title>
<Description>The Odata Provider lets you fetch and map data from or to any OData endpoint.</Description>
Expand Down
4 changes: 0 additions & 4 deletions src/ODataProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -352,10 +352,6 @@ private void AddPropertiesFromXMLReaderToTable(XmlReader xmlReader, Table table,
var isPrimaryKey = primaryKeys.Contains(columnName);
column = new Column(columnName, columnType, table, isPrimaryKey, false);
table.AddColumn(column);
// BC
var scale = xmlReader.GetAttribute("Scale");
if (scale is not null && string.Equals(scale, "Variable", StringComparison.OrdinalIgnoreCase))
column.ReadOnly = true;
}
else if (xmlReader.NodeType == XmlNodeType.Element && xmlReader.Name.Equals("Annotation", StringComparison.OrdinalIgnoreCase) && column is not null)
{
Expand Down
Loading