Quantcast
Channel: Entity Framework
Viewing all articles
Browse latest Browse all 10318

Closed Issue: use codefirst how to set decimal like decimal(18,5) [674]

$
0
0
use codefirst how to set the model's decimal field,when the database creating can be generate like decimal(18,5)
Comments: Questions about how to use EF are better asked on StackOverflow.com using the entity-framework tag. CodePlex is for reporting bugs and requesting new features. Per Andrew's comments you can use the HasPrecision and HasScale methods of the Fluent API to do this.

Viewing all articles
Browse latest Browse all 10318

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>