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

[T4 template] F# generation recods. #1553

Open
Trigun27 opened this issue Jan 23, 2019 · 3 comments
Open

[T4 template] F# generation recods. #1553

Trigun27 opened this issue Jan 23, 2019 · 3 comments

Comments

@Trigun27
Copy link

Hi,

hear that linq2db can generate F# records, is it true? (Also i see some FSharp namespaces in code files). Where can i read about it?

Thanks)

@sdanyliv
Copy link
Member

Unfortunately i’m not familiar with F#. Could you check our F# tests?
https://github.com/linq2db/linq2db/tree/master/Tests/FSharp

@Trigun27
Copy link
Author

I meant can i generate records using .tt file?

Yes, I saw the tests, that's why I ask about the .tt file.

https://github.com/linq2db/linq2db/blob/master/Tests/FSharp/Models.fs#L14
It seems that tests use code first approach, doesn't it?

@MaceWindu
Copy link
Contributor

MaceWindu commented Jan 23, 2019

right now we have only C# tt model generator
Edit: probably we will be able to improve it in 3.0 as we plan to improve model generation for 3.0 release.

@MaceWindu MaceWindu added this to the 3.X milestone Jan 23, 2019
@Trigun27 Trigun27 changed the title F# generation recods. [T4 template] F# generation recods. Jan 23, 2019
@MaceWindu MaceWindu mentioned this issue Jul 5, 2021
34 tasks
@MaceWindu MaceWindu modified the milestones: 3.X, Future Mar 27, 2022
@MaceWindu MaceWindu added the area: scaffold linq2db.cli label Nov 20, 2022
@MaceWindu MaceWindu removed this from the Future milestone Dec 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants