This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Add this to the watch name: | |
| ((System.Data.Entity.Validation.DbEntityValidationException)$exception).EntityValidationErrors |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| DECLARE @SQL NVARCHAR(MAX) = N''; | |
| SELECT @SQL += N' | |
| ALTER TABLE ' + OBJECT_NAME(PARENT_OBJECT_ID) + ' DROP CONSTRAINT ' + OBJECT_NAME(OBJECT_ID) + ';' | |
| FROM SYS.OBJECTS | |
| WHERE TYPE_DESC LIKE '%CONSTRAINT' AND OBJECT_NAME(PARENT_OBJECT_ID) = 'Your_TABLE'; | |
| PRINT @SQL |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /// <summary> | |
| /// See https://developers.google.com/maps/documentation/utilities/polylinealgorithm | |
| /// </summary> | |
| public static class GooglePoints | |
| { | |
| /// <summary> | |
| /// Decode google style polyline coordinates. | |
| /// </summary> | |
| /// <param name="encodedPoints"></param> | |
| /// <returns></returns> |
OlderNewer