在我的项目中使用通用模型 [英] use a general model in my project

查看:92
本文介绍了在我的项目中使用通用模型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨 我正在编写一个项目CRM,并希望它使用带有所有Partial View的完整Ajax来编写该项目.弹出窗口被加载在第一页上. 但是我在将其加载到主页时遇到问题.
例如在部分视图中使用列表客户.
使用包含客户,案例和活动的通用模型是否更好?
请帮帮我吗?

解决方案

您可以使用任何喜欢的模型,但是流行语的散布不会保存您的项目.您的问题毫无意义.


我不知道您的问题的确切含义,但是您可以使用带有参考客户,案例或活动的通用"模型.在OOPS中,这称为关联.


hi I''m writing a project CRM and want it to write the project with full Ajax with all Partial View The pop-up are loaded on the first page
But I problem in loaded it on main page.
such as use of list customers In Partial View .
Is it not better with use a general model that contains customers, Case and activities
Please help me?

解决方案

You can use any model you like, but the throwing around of buzzwords will not save your project. Your questions makes no sense whatsoever.


I dont know what your question exactly means, but you can use a ''general'' model with refereces to Customer, Case or Activities in it. In OOPS this is know as an Association.


这篇关于在我的项目中使用通用模型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆