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
SELECT * FROM TempOrgan | |
LEFT OUTER JOIN TOrgan ON TempOrgan.Organ Like '%' + TOrgan.OrganName + '%' | |
WHERE TOrgan.OrganName IS NULL |
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
public static class ExtendedPersianString | |
{ | |
public static string FixPersianName(this string text) | |
{ | |
if (string.IsNullOrEmpty(text)) return text; | |
return text.ApplyCorrectYeKe().ReplaceAlef().RemoveDiacritics().CleanUnderLines().RemovePunctuation().Trim().RemoveSpaces(); | |
} | |
public static string ApplyCorrectYeKe(this string text) | |
{ |
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
public class HomeController : Controller | |
{ | |
public ActionResult Index() | |
{ | |
return View("Home"); | |
} | |
public ActionResult Login(string txtUsername, string txtPassword) | |
{ | |
var x = Request.ToObj<User>(); |
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
using System; | |
using System.IO; | |
using System.IO.Compression; | |
using System.Linq; | |
using System.Text; | |
namespace TestMigrationHistory | |
{ | |
class Program | |
{ |
NewerOlder