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 MockEditProjection(Type entityType) { Command = new EditCommandInfo(entityType.Name); }