public NonQueryCommandsExecutor(object obj) { entity = DictionaryEntitiesMap.INSTANCE.GetEntity(obj.GetType()); this.objectCommand = obj; }
private void SetUpDictionaryEntityes() { DictionaryEntitiesMap.INSTANCE.Clear(); DictionaryEntitiesMap.INSTANCE.AddEntity(typeof(ProdutoTeste)); DictionaryEntitiesObjects.GetInstance().Clear(); entity = DictionaryEntitiesMap.INSTANCE.GetEntity(typeof(ProdutoTeste)); }