public void Initialize(string action, Type type, EntityForm form) { CommandInfo command = null; if (action == "Create") { command = new CreateComandInfo(type.Name); } else { command = new EditCommandInfo(type.Name); } Initialize(command, form, uniquePropertyName); }
public MockCreateProjection(Type entityType) { Command = new CreateComandInfo(entityType.Name); }