Epiworx.Business.Feed.NewFeed C# (CSharp) Method

NewFeed() static private method

static private NewFeed ( ) : Feed
return Feed
        internal static Feed NewFeed()
        {
            return Csla.DataPortal.Create<Feed>();
        }

Usage Example

        public static Feed FeedNew(string action, SourceType sourceType, int sourceId)
        {
            var feed = Feed.NewFeed();

            feed.Action       = action;
            feed.SourceTypeId = (int)sourceType;
            feed.SourceId     = sourceId;

            return(feed);
        }
All Usage Examples Of Epiworx.Business.Feed::NewFeed