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 | |
[Project5].[OrderStatusID] AS [OrderStatusID], | |
[Project5].[OrderId] AS [OrderId], | |
[Project5].[OrderNumber] AS [OrderNumber], | |
[Project5].[PONumber] AS [PONumber], | |
[Project5].[DepartmentName] AS [DepartmentName], | |
[Project5].[CustomerName] AS [CustomerName], | |
[Project5].[CreatedDt] AS [CreatedDt], | |
[Project5].[PriorityFl] AS [PriorityFl], | |
[Project5].[StatusDescription] AS [StatusDescription], |
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
IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[ScTriggerLog]') AND type in (N'U')) | |
BEGIN | |
DROP TABLE [dbo].[ScTriggerLog] | |
END | |
GO | |
CREATE TABLE | |
[dbo].[ScTriggerLog] | |
( | |
[ScTriggerLogId] INT IDENTITY (1, 1) NOT 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
using System.ServiceModel.DomainServices.Client; | |
using GalaSoft.MvvmLight.Messaging; | |
namespace My.Entities | |
{ | |
using My.Entities.Extensions; | |
using My.Silverlight.Models; | |
public sealed partial class MyEntity : Entity | |
{ |
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.Windows.Controls; | |
using GalaSoft.MvvmLight.Messaging; | |
using Telerik.Windows.Controls; | |
namespace Fox.Xavier.Client.Views | |
{ | |
using Fox.Silverlight.Models; | |
using Fox.Xavier.Client.Models; | |
public class RadDataFormTextLookupField : DataFormDataField |
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.Windows; | |
using My.Client.Views.Administration; | |
using Telerik.Windows.Controls; | |
using Telerik.Windows.Controls.GridView; | |
namespace My.Client.Views | |
{ | |
using My.Silverlight.Extensions; |
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.Windows; | |
using GalaSoft.MvvmLight.Messaging; | |
using Telerik.Windows.Controls; | |
using Telerik.Windows.Controls.GridView; | |
namespace Fox.Xavier.Client.Views | |
{ | |
using Fox.Silverlight.Controls; | |
using Fox.Silverlight.Models; |
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.Windows.Controls; | |
using GalaSoft.MvvmLight.Messaging; | |
using Telerik.Windows.Controls; | |
namespace Fox.Xavier.Client.Views | |
{ | |
using Fox.Silverlight.Controls; | |
using Fox.Silverlight.Models; |
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
class Sample | |
{ | |
public Sample() | |
{ | |
Messenger.Default.Register<LightMessage<LightContentForFrameworkElement<MultiSelectDropDown>>>(this, | |
message => | |
{ | |
if (!message.IsExpectedMessage(LightMessageSource.ViewAddedChildren, "UoMLookupDataField")) return; | |
var dropdown = message.Content.Element; |
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
class Sample | |
{ | |
#region AdminUomDepartments: | |
void DoRiaOperationForAdminUomDepartments(ReadOnlyCollection<Entity> added, | |
ReadOnlyCollection<Entity> modified, ReadOnlyCollection<Entity> removed) | |
{ | |
if (added.OfType<UOM>().Count() > 0) | |
{ | |
this.DoRiaOperationForAdminUomDepartmentsAdded(added.OfType<UOM>()); |
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
class Sample | |
{ | |
void HandleUserRoleControl(LightMessage<LightContentForFrameworkElement<UserRoleControl>> message) | |
{ | |
var control = message.Content.Element; | |
var data = message.Content.DataOfContext as SystemUser; | |
Action loadGridView = () => | |
{ | |
if (control.GridView.HasItems) control.GridView.Items.Clear(); | |
var set = this._usersRoles.Where(i => i.UserId == data.UserId); |