sql server support + entity enhance bug fix