Name Collision

オープン
#685 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
fsharp, sql
領域
databases

調査の方向性

ファイルやテストは指定されていません。まず、提供された SQL Server スキーマで問題を再現し、その後、SQL 型プロバイダーの名前クリーンアップとメンバー生成のロジックを追跡してください。2 つの列でオーバーロードの衝突が発生しなくなるか、プロバイダーがクリーンアップを無効にする文書化された方法を公開すれば、完了です。

索引モデルが issue の本文から書いたものです。

説明

sql server

I’m trying to use the sql provider with our production ms sql database schema however I’ve found a problem which I can’t seem to work around. One of our table is badly constructed meaning with have ended up with the following:

CREATE TABLE [Account](
	[Id] [int] IDENTITY(1,1),
	[Billing_Address] [varchar](max) NULL,
	[BillingAddress] [varchar](max) NULL,
)

When the provider runs it is cleaning the underscore out of the the first Billing_Address and the provided throws an error:

The type provider 'FSharp.Data.Sql.SqlTypeProvider' reported an error: GetMethodImpl. not support overloads, name = 'get_BillingAddress', methods - '[|Method get_BillingAddress; Method get_BillingAddress|]', callstack = '" at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)

Sadly, I can’t change the production database so are there any options to disable the name clean up?

主要言語
F#
スター
627
フォーク
147
平均マージ
2時間 2分
マージ済み PR(30日)
1

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

fsprojects/SQLProvider のほかの issue

fsprojects/SQLProvider の issue をすべて見る

似ている issue

Databases の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。