This file contains 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
* | |
{ | |
-moz-box-sizing: border-box; | |
-webkit-box-sizing: border-box; | |
box-sizing: border-box; | |
} |
This file contains 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
-webkit-user-select: none; | |
-moz-user-select: none; | |
-ms-user-select: none; | |
user-select: none; |
This file contains 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
Update-Database –TargetMigration: AddBlogUrl |
This file contains 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
<PropertyGroup> | |
<WorkingDir Condition="'$(WorkingDir)' == ''">$(MSBuildProjectDirectory)\..\..\</WorkingDir> | |
<BuildDir Condition="'$(BuildDir)' == ''">$(WorkingDir)build\</BuildDir> | |
</PropertyGroup> | |
<Target Name="ValidateBuildProperties"> | |
<Error Text="The WorkingDir property is not defined." Condition="'$(WorkingDir)' == ''" /> | |
<Error Text="The WorkingDir must have a trailing slash." Condition="!HasTrailingSlash('$(WorkingDir)')" /> | |
<Error Text="The BuildDir property is not defined." Condition="'$(BuildDir)' == ''" /> | |
<Error Text="The BuildDir must have a trailing slash." Condition="!HasTrailingSlash('$(BuildDir)')" /> | |
</Target> |
This file contains 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
private static DbQuery<Models.___> ___Includes(DbSet<Models.___> dbSet) | |
{ | |
return dbSet.Include("___"); | |
} |
This file contains 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
using (var db = new ___DBContext()) | |
{ | |
var ___ = (from x in ___Includes(db.___) | |
where x.Id == id | |
select x).FirstOrDefault(); | |
return ___; | |
} |
This file contains 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
group x by new { x.Column1, x.Column2 } |
This file contains 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
white-space: nowrap; |
This file contains 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
<configuration> | |
<system.web> | |
<customErrors mode="Off"/> | |
</system.web> | |
</configuration> |
This file contains 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
;WITH cte_1 AS | |
( | |
) |
OlderNewer