%@ CodeTemplate Language="C#" TargetLanguage="Text" Description="This template demonstrates using properties defined in external assemblies." %>
<%@ Property Name="SourceDatabase" Type="SchemaExplorer.DatabaseSchema" Category="Context" Description="Database that the documentation should be based on." %>
<%@ Property Name="SourceTable" Type="SchemaExplorer.TableSchema" Category="Context" Description="The table to use for this sample." %>
<%@ Assembly Name="SchemaExplorer" %>
<%@ Import Namespace="SchemaExplorer" %>
///
///WCF service
///Interface FOR TABLE <%=this.SourceTable.Name%>
///By wm
///on <%= DateTime.Now.ToString("MM/dd/yyyy")%>
///
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using DeiNiu.wms.Logical;
using System.Data;
namespace DeiNiu.Wcf
{
[ServiceContract]
public interface <%=getWcfSvcInterfaceName() %>
{
[OperationContract]
DataSet query(string querystr, int rownumStart, int rownumEnd);
int add(<%=getWcfClassName() %> wcfDate);
[OperationContract]
int update(<%=getWcfClassName() %> wcfDate);
[OperationContract]
int delete(<%=getWcfClassName() %> wcfDate);
}
}