# Insert stored procedure and model

**URL:** <https://forum.radzen.com/t/insert-stored-procedure-and-model/9842>\
**Category:** Blazor Server\
**Created:** [January 12, 2022, 12:03pm UTC](https://forum.radzen.com/t/insert-stored-procedure-and-model/9842 "2022-01-12T12:03:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mad.Rain](https://forum.radzen.com/user_avatar/forum.radzen.com/mad.rain/32/9188_2.png) [@Mad.Rain](https://forum.radzen.com/u/Mad.Rain)\
**Post date:** [January 12, 2022, 12:03pm UTC](https://forum.radzen.com/t/insert-stored-procedure-and-model/9842/1 "2022-01-12T12:03:38Z")

</div>

Hello,

I have build an insert stored procedure to add data to more than one database tables with special logic.  
Now I have build a page with a Step control to have two step "wizard" for entering the data. I know that I can execute the stored procedure in the submit event but I have no model where all the controls are bind to - is it necessary to have a model with all the coumns for the parameters of the INSERT stored procedure?  
If yes how to build that model without having a table in the DB?

robert

---

<div class="post-metadata">

**Author:** ![enchev](https://forum.radzen.com/user_avatar/forum.radzen.com/enchev/32/16_2.png) [@enchev](https://forum.radzen.com/u/enchev)\
**Post date:** [January 12, 2022, 12:41pm UTC](https://forum.radzen.com/t/insert-stored-procedure-and-model/9842/2 "2022-01-12T12:41:32Z")

</div>

It is up to you how stored procedure parameters will be entered and supplied, as object/class properties or as individual page properties.
