static Assignment GetFromAssembler(MyObjectAssemblerManager manager, ConfigurationContext config) { using (var cmd = new Assignment_Load_p()) { cmd.Parameters.Assignment_id = 99; return manager.Create<Assignment>(config, cmd); } }