TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Dr.Ajay Kashyap
NA
521
284.1k
i have a questions on Asp.Net MVC
Jun 10 2016 2:21 AM
i am getting error during the creation of View ? i am using multiple table in single model
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ShopInDeal.ViewModels
{
class BusinessViewModel
{
//BusinessTable (table name)
public int ShopId { get; set; }
public string ShopName { get; set; }
public Nullable<bool> FlagApproval { get; set; }
public Nullable<int> Createdby { get; set; }
public Nullable<System.DateTime> CreatedOn { get; set; }
public Nullable<int> UpdatedBy { get; set; }
public Nullable<System.DateTime> UpdatedOn { get; set; }
public Nullable<bool> Active { get; set; }
//BusinessLocation (table name)
public int LocationID { get; set; }
public string Location { get; set; }
//public Nullable<int> ShopId { get; set; }
public string Longitude { get; set; }
public string Latitude { get; set; }
//public Nullable<int> Createdby { get; set; }
//public Nullable<System.DateTime> CreatedOn { get; set; }
//public Nullable<int> UpdatedBy { get; set; }
//public Nullable<System.DateTime> UpdatedOn { get; set; }
//public Nullable<bool> Active { get; set; }
//Business_CatagoryRelation (table name)
public int shopcategoryrelationid { get; set; }
public Nullable<int> shopId { get; set; }
public Nullable<int> CategoryId { get; set; }
//public Nullable<int> Createdby { get; set; }
//public Nullable<System.DateTime> CreatedOn { get; set; }
//public Nullable<int> UpdatedBy { get; set; }
//public Nullable<System.DateTime> UpdatedOn { get; set; }
//public Nullable<bool> Active { get; set; }
//Business_SubCatagoryRelation (table name)
public int shopsubcategoryrelationid { get; set; }
//public Nullable<int> shopId { get; set; }
//public Nullable<int> CategoryId { get; set; }
public Nullable<int> SubCategoryId { get; set; }
//public Nullable<int> Createdby { get; set; }
//public Nullable<System.DateTime> CreatedOn { get; set; }
//public Nullable<int> UpdatedBy { get; set; }
//public Nullable<System.DateTime> UpdatedOn { get; set; }
//public Nullable<bool> Active { get; set; }
}
}
Reply
Answers (
2
)
how can i save telugu text into db useing stored procedure
How can i solve this error