Click here to Skip to main content
15,891,708 members
Articles / Web Development / ASP.NET

State Machine Complier And Asp.net

Rate me:
Please Sign up or sign in to vote.
4.56/5 (4 votes)
20 Oct 2008CPOL4 min read 55.6K   307   31  
This article demonstrate the implementation of State Machine Compiler in .NET. This is small proof of concept for developing state machine workflow activity.
��USE [CarAutomation]

GO

/****** Object:  Table [dbo].[StateAuditLog]    Script Date: 10/20/2008 18:57:26 ******/

SET ANSI_NULLS ON

GO

SET QUOTED_IDENTIFIER ON

GO

SET ANSI_PADDING ON

GO

CREATE TABLE [dbo].[StateAuditLog](

	[Audit_Log_ID] [bigint] IDENTITY(1,1) NOT NULL,

	[Car_ID] [bigint] NOT NULL,

	[State_ID] [bigint] NOT NULL,

	[Remarks] [varchar](max) NOT NULL,

	[Last_Updated_By] [bigint] NOT NULL,

	[Last_Updated_Date] [datetime] NOT NULL,

 CONSTRAINT [PK_StateAuditLog] PRIMARY KEY CLUSTERED 

(

	[Audit_Log_ID] ASC

)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]

) ON [PRIMARY]



GO

SET ANSI_PADDING OFF

GO

ALTER TABLE [dbo].[StateAuditLog]  WITH CHECK ADD  CONSTRAINT [FK_StateAuditLog_Car] FOREIGN KEY([Car_ID])

REFERENCES [dbo].[Car] ([Car_ID])

GO

ALTER TABLE [dbo].[StateAuditLog] CHECK CONSTRAINT [FK_StateAuditLog_Car]

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Technical Lead
Australia Australia
Whatsup-->Exploring--> MVC/HTML5/Javascript & Virtualization.......!
www.santoshpoojari.blogspot.com

Comments and Discussions