コード例 #1
0
 public OperationCallBuilder(nutility.ITypeClassMapper typemap)
 {
   xml = typemap.GetService<XDocument>();
   metadata = typemap.GetService<IParameterMetadataProvider>();
   metadata.LoadSchemaFor(GetOperationName());
 }
コード例 #2
0
 public ProcedureCallAsXmlMessage(nutility.ITypeClassMapper typemap)
 {
   xml = typemap.GetValue<XDocument>(RPC_Constant.SerializedRPCDataType);
   metadata = typemap.GetService<IParameterMetadataProvider>();
   metadata.LoadSchemaFor(GetOperationName());
 }
コード例 #3
0
 static string GetStoredProcedureCall(nutility.ITypeClassMapper typemap)
 {
   var builder = typemap.GetService<IOperationCallBuilder>();
   return $"{builder.GetRunStatement()} {builder.GetOperationName()} {builder.GetArguments()}";
 }