c# - DapperExtensions produces "Invalid object name" on insert operation -



c# - DapperExtensions produces "Invalid object name" on insert operation -

i'm next simple insert operation illustration @ https://github.com/tmsmith/dapper-extensions#simple-insert-operation

public class org { public int id { get; set; } public string name { get; set; } } sqlconnection conn = new sqlconnection("..."); conn.open(); org org = new org() { name = "just testing" }; int id = conn.insert(org); conn.close();

this gives me system.data.sqlclient.sqlexception: invalid object name 'org'.

what doing wrong here? table exists , generated ef code first standard dbcontext subclass containing public dbset<org> orgs { get; set; }

c# sql-server entity-framework dapper dapper-extensions

Comments

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -