Skip to content

Commit

Permalink
Udpate templates
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikEJ committed Jan 1, 2025
1 parent 9e1895e commit a66cbdc
Show file tree
Hide file tree
Showing 9 changed files with 148 additions and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,29 @@
"name": "Inline function",
"shortName": "inlinefunc",
"tags": {
"language": "SQL",
"language": "C#",
"type": "item"
},
"primaryOutputs": [
{
"condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")",
"path": "Function1.sql"
}
],
"postActions": [
{
"id": "openInEditor",
"condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")",
"description": "Opens Function1.sql in the editor.",
"manualInstructions": [],
"actionId": "84C0DA21-51C8-4541-9940-6CA19AF04EE6",
"args": {
"files": "0"
},
"continueOnError": true
}
],
"defaultName": "Function1",
"sourceName": "Function1",
"symbols": {
"schemaName": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,29 @@
"name": "Scalar Function",
"shortName": "scalarfunc",
"tags": {
"language": "SQL",
"language": "C#",
"type": "item"
},
"primaryOutputs": [
{
"condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")",
"path": "Function1.sql"
}
],
"postActions": [
{
"id": "openInEditor",
"condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")",
"description": "Opens Function1.sql in the editor.",
"manualInstructions": [],
"actionId": "84C0DA21-51C8-4541-9940-6CA19AF04EE6",
"args": {
"files": "0"
},
"continueOnError": true
}
],
"defaultName": "Function1",
"sourceName": "Function1",
"symbols": {
"schemaName": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,29 @@
"name": "Stored procedure",
"shortName": "sproc",
"tags": {
"language": "SQL",
"language": "C#",
"type": "item"
},
"primaryOutputs": [
{
"condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")",
"path": "Procedure1.sql"
}
],
"postActions": [
{
"id": "openInEditor",
"condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")",
"description": "Opens Procedure1.sql in the editor.",
"manualInstructions": [],
"actionId": "84C0DA21-51C8-4541-9940-6CA19AF04EE6",
"args": {
"files": "0"
},
"continueOnError": true
}
],
"defaultName": "Procedure1",
"sourceName": "Procedure1",
"symbols": {
"schemaName": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
"continueOnError": true
}
],
"sourceName": "Table1",
"defaultName": "Table1",
"sourceName": "Table1",
"symbols": {
"schemaName": {
"type": "parameter",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,29 @@
"name": "Table-valued Function",
"shortName": "tablefunc",
"tags": {
"language": "SQL",
"language": "C#",
"type": "item"
},
"primaryOutputs": [
{
"condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")",
"path": "Function1.sql"
}
],
"postActions": [
{
"id": "openInEditor",
"condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")",
"description": "Opens Function1.sql in the editor.",
"manualInstructions": [],
"actionId": "84C0DA21-51C8-4541-9940-6CA19AF04EE6",
"args": {
"files": "0"
},
"continueOnError": true
}
],
"defaultName": "Function1",
"sourceName": "Function1",
"symbols": {
"schemaName": {
Expand Down
25 changes: 0 additions & 25 deletions src/MSBuild.Sdk.SqlProj.Templates/templates/templates.sln

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,29 @@
"name": "User-defined data type",
"shortName": "uddt",
"tags": {
"language": "SQL",
"language": "C#",
"type": "item"
},
"primaryOutputs": [
{
"condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")",
"path": "UserDefinedDataType1.sql"
}
],
"postActions": [
{
"id": "openInEditor",
"condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")",
"description": "Opens UserDefinedDataType1.sql in the editor.",
"manualInstructions": [],
"actionId": "84C0DA21-51C8-4541-9940-6CA19AF04EE6",
"args": {
"files": "0"
},
"continueOnError": true
}
],
"defaultName": "UserDefinedDataType1",
"sourceName": "UserDefinedDataType1",
"symbols": {
"schemaName": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,29 @@
"name": "User-defined table type",
"shortName": "udtt",
"tags": {
"language": "SQL",
"language": "C#",
"type": "item"
},
"primaryOutputs": [
{
"condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")",
"path": "UserDefinedTableType1.sql"
}
],
"postActions": [
{
"id": "openInEditor",
"condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")",
"description": "Opens UserDefinedTableType1.sql in the editor.",
"manualInstructions": [],
"actionId": "84C0DA21-51C8-4541-9940-6CA19AF04EE6",
"args": {
"files": "0"
},
"continueOnError": true
}
],
"defaultName": "UserDefinedTableType1",
"sourceName": "UserDefinedTableType1",
"symbols": {
"schemaName": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,29 @@
"name": "Database view",
"shortName": "view",
"tags": {
"language": "SQL",
"language": "C#",
"type": "item"
},
"primaryOutputs": [
{
"condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")",
"path": "View1.sql"
}
],
"postActions": [
{
"id": "openInEditor",
"condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")",
"description": "Opens View1.sql in the editor.",
"manualInstructions": [],
"actionId": "84C0DA21-51C8-4541-9940-6CA19AF04EE6",
"args": {
"files": "0"
},
"continueOnError": true
}
],
"defaultName": "View1",
"sourceName": "View1",
"symbols": {
"schemaName": {
Expand Down

0 comments on commit a66cbdc

Please sign in to comment.