【发布时间】:2012-07-10 19:32:08
【问题描述】:
我有一个这样的存储过程usp_getCashCommissionCustomer:
Select
cw.Customercode, name, state as Province, City, Suburb,
Balance As HMCommission, MBalance as MTNCommission
from
customerwallet cw
inner join
customer cu on cw.customercode = cu.customercode
where
iscash = 1
and (balance + mbalance) > 0
order by
customercode
点击customercode我应该打开创建下表的视图
CREATE TABLE [dbo].[CustomerLedger]
(
[ID] [bigint] IDENTITY(1,1) NOT NULL,
[CustomerCode] [varchar](25) NULL,
[TransactionType] [varchar](1) NULL,
[Description] [varchar](30) NULL,
[TransactionDate] [datetime] NULL,
[Amount] [float] NULL,
[IsProcessed] [bit] NULL
) ON [PRIMARY]
请帮帮我。
我是 ASP.NET MVC 2 的新手
【问题讨论】:
标签: asp.net-mvc linq-to-sql asp.net-mvc-2