536cd135cc
Former-commit-id: 5624ac747d633e885131e8349322922b6a59baaa
34 lines
1.0 KiB
C#
34 lines
1.0 KiB
C#
//---------------------------------------------------------------------
|
|
// <copyright file="AdditionalEntityFunctions.cs" company="Microsoft">
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// </copyright>
|
|
//
|
|
// @owner Microsoft
|
|
// @backupOwner Microsoft
|
|
//---------------------------------------------------------------------
|
|
namespace System.Data.Objects
|
|
{
|
|
public static partial class EntityFunctions
|
|
{
|
|
/// <summary>
|
|
/// An ELINQ operator that ensures the input string is treated as a unicode string.
|
|
/// </summary>
|
|
/// <param name="value"></param>
|
|
/// <returns></returns>
|
|
public static string AsUnicode(string value)
|
|
{
|
|
return value;
|
|
}
|
|
|
|
/// <summary>
|
|
/// An ELINQ operator that treats the input string as a non-unicode string.
|
|
/// </summary>
|
|
/// <param name="value"></param>
|
|
/// <returns></returns>
|
|
public static string AsNonUnicode(string value)
|
|
{
|
|
return value;
|
|
}
|
|
}
|
|
}
|