ef-enum-to-lookup icon indicating copy to clipboard operation
ef-enum-to-lookup copied to clipboard

Custom schema #1

Open sveinhelge opened this issue 9 years ago • 8 comments

Support for custom schema. Uses schema from context.

Example: public class MyCustomSchemaDbContext : DbContext { public DbSet<Foo> Foos { get; set; }

protected override void OnModelCreating(DbModelBuilder modelBuilder)
{
    modelBuilder.HasDefaultSchema("myschema");
    base.OnModelCreating(modelBuilder);
}

}

Will create Enum tables under schema myschema.

sveinhelge avatar Aug 13 '15 21:08 sveinhelge

Thanks, will look over this as soon as I get a chance

timabell avatar Aug 13 '15 21:08 timabell

I think it makes sense to get the description PR done before getting into this one.

timabell avatar Aug 17 '15 01:08 timabell

I'd love to set a custom schema. Any status on this pull?

dirq avatar Jan 06 '16 20:01 dirq

busy year... I haven't had a chance and I'm not sure when I'll get the time. I'd be interested to know if you manage to build and run the fork and if it works for you. I will come back to this but can't promise when. I'm a contractor so my time comes and goes somewhat randomly. I do intend to come back and make further improvements and this is still one I'd like to do.

I'm not sure how the impending EF7 will affect this project and haven't had time to look into that yet.

Still want to do PR #33 first.

timabell avatar Jan 06 '16 20:01 timabell

hey @timabell great little tool. Just wondering if you're planning to merge this PR in, or would I be better of just forking it and building it myself. Cheers.

hey @sveinhelge don't suppose you've already published this elsewhere ?

eoincgreenfinch avatar May 03 '17 21:05 eoincgreenfinch

@eoincgreenfinch I certainly would like to get this enhancement tidied up tested and merged, I'd need to find some time to set up my dev environment and work on it for a bit.

On the off-chance are you using it for a commercial project? Would you be interested in funding some development time to get it in? I'm starting to think about offering to work on open source projects for money where they are useful as I'd like to do more on them, and that would allow me to justify spending my time on it. (I'm a contract dev so I have to balance this stuff with paid work and home-life).

timabell avatar May 09 '17 16:05 timabell

Maybe crowd-funding would work if several people/organisations would like to see this implemented? Thoughts?

timabell avatar May 17 '17 22:05 timabell

Another PR for this: #57 See also issue #58

timabell avatar Jun 03 '17 06:06 timabell